安装 Xcode 14.3 后,以便在我的 iOS 16.3 iPhone XS上运行我的应用程序。我收到以下错误:
找不到文件:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
我该如何修复它?
我不知道为什么,但我无法在我的新 Macbook 中构建或运行该应用程序,我在另一台 Mac 或我的 Windows 计算机上运行相同的文件夹并完美运行。在这里,当我运行 flutter clean 时,我必须运行 pub get 来解决问题,这正常吗?
如果我新建一个项目,我可以正常运行flutter run,所以我想可能那里我认为可能与插件有关。
你知道我该如何解决这个问题吗?谢谢
Flutter Doctor
[?] Flutter (Channel master, 1.24.0-8.0.pre.343, on macOS 11.0.1 20B29 darwin-x64, locale es-419)
• Flutter version 1.24.0-8.0.pre.343 at /Users/leo/tools/flutter
• Framework revision cf6c33e58a (2 days ago), 2020-11-21 14:04:01 -0800
• Engine revision 23a8e027db
• Dart version 2.12.0 (build 2.12.0-62.0.dev)
[?] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/leo/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java …Run Code Online (Sandbox Code Playgroud) 我已从 xcode 14.2 升级到 xcode 14.3 beta,现在我无法再为任何 iOS 设备 (arm64) 存档,并出现以下错误:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks
mkdir -p /Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArchiveIntermediates/Release_preprod/BuildProductsPath/Release_preprod-iphoneos/MaxApp.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" "/Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArchiveIntermediates/Release_preprod/InstallationBuildProductsLocation/Applications/MaxApp.app/Frameworks"
building file list ... rsync: link_stat "/Users/max/Workspace/MaxApp/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00 …Run Code Online (Sandbox Code Playgroud) 我最近将 iPhone 更新至 iOS 16.4,并将 Xcode 更新至版本 13.4。自更新以来,我在尝试在 Xcode 中构建 iOS 应用程序时遇到错误。错误信息如下:
Could not build the precompiled application for the device. Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
更新到 iOS 16.4 和 Xcode 13.4 后开始出现此问题。
我试过:
我正在使用 VSCode 开发 Flutter 应用程序,在将 XCode 升级到最新版本(14.3)后,我无法在模拟器(iOS 15、IPhone11)上运行我的 Flutter 应用程序。这是错误消息:
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Run Code Online (Sandbox Code Playgroud) 我有一个用 Flutter 制作的应用程序,因为最新版本的 Xcode 绝对没有像以前那样工作。我已经为这个问题苦苦挣扎了将近一个星期,错误因小时而异。
主要问题是,当将应用程序分发给 Apple 进行审核时,他们拒绝了它并显示以下消息:
2.1 性能:应用完整性指南
2.1 - 性能 - 应用完整性
在通过 Wi-Fi 运行 iOS 14.0 的 iPad 上查看时,我们发现了您的应用程序中的一个或多个错误。
具体来说,我们仍然无法通过 Sign in with Apple 登录
我觉得这很奇怪,因为我之前上传的所有内容都得到了验证,没有任何问题。所以为了解决这个问题,我试图通过模拟器运行应用程序,因为我没有 iPad。这就是问题开始的地方。
旁注:在物理 iPhone 上运行没有问题,我正在打开项目runner.xcworkspace,而不是runner.xccodeproj.
主要问题是 Xcode 找不到任何库,从第一个开始:
GeneratedPluginRegistrant.m:10:9: 未找到模块“apple_sign_in”
我已经尝试了与此问题相关的所有解决方案,但无济于事。
Flutter 医生和 pod 文件如下:
[?] Flutter(Channel stable,1.20.4,在 Mac OS X 10.15.6 19G2021 上,语言环境 en-ES) • …
我刚刚安装了 Xcode 14.3,它在运行应用程序期间向我显示错误:
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Run Code Online (Sandbox Code Playgroud)