Showing Recent Messages
Runner has conflicting provisioning settings. Runner is automatically signed for development, but a conflicting code signing identity Apple Distribution has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor.
ld: '/Users/timeloit/develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/objectbox_flutter_libs-0.10.0/ios/Carthage/Build/iOS/ObjectBox.framework/ObjectBox' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/timeloit/develop/flutter/.pub-cache/hosted/pub.flutter-io.cn/objectbox_flutter_libs-0.10.0/ios/Carthage/Build/iOS/ObjectBox.framework/ObjectBox' for architecture arm64
bitcode = false
‘agora_rtc_engine' not found
解決方式:
IOS打開工程時要選擇Runner.xcworkspace而不是Runner.xcodeprojremark: Incremental compilation has been disabled: it is not compatible with whole module optimization
解決方式:
Build Settings -> Compilation Mode -> Switch to "Incremental"-
App Store Connect Operation Error
unsatisfied requirement: com.apple.transporter.softwaresupport
這個總是是XCODE11以上不再支持使用applicationLoader進行上傳
解決方式:
使用官方推薦的Transporter工具,從商店下載驹沿。
或者:
// 1. terminal輸入
open ~/Library/Caches/com.apple.amp.itmstransporter/
// 2. 刪除com.apple.amp.itmstransporter 文件夾里面所有文件
// 3. 輸入
/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter
// 4. 重啟xcode
4.pod install時報如下錯誤:
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36: [BUG] Illegal instruction at 0x0000000100e84000
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21
解決方案:
問題主要是由于MAC M1使用arm芯片架構嚎朽,原先gem下載下來的cocoapods架構指令不支持鳞绕,需要下載新的支持M1架構的cocoapods
// 1.卸載cocoapods
sudo gem uninstall cocoapods
// 2.執(zhí)行下載新的cocoapods
brew install cocoapods
// 3.如果提示```zsh: command not found: brew```,下載brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
// 如果下載不下來烫止,使用國內源進行下載
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
// 4.重新執(zhí)行pod install
5.報 Unhandled exception:
Invalid argument(s): A directory corresponding to fileSystemPath "/Users/devin/.pub-cache/hosted/pub.flutter-io.cn/devtools-2.9.2/build" could not be found
原因:
最新的devtools-2.9.2有問題,沒有build目錄吃引,把它替換成devtools-2.8.0
解決方式:
執(zhí)行 dart pub global activate devtools -v 2.8.0