前言
- Unity 2019.2.11f1
- Vuforia 8.5.9
iOS Build and Run Error
ld: library not found for -liPhone-lib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solution - iOS Build and Run Error
Build Setting -> Search Paths -> Library Search Paths
移除 "$(SECROOT)"
參數
iOS Archive Error
ld: warning: ignoring file ... building for iOS-armv7 but attempting to link with file built for iOS-arm64.
Solution - iOS Archive Error
根據 Vuforia Engine Release Notes 在 v8.1.7
之後不支援 32-bit
,並且最低支援 iOS 11
,因此需要把專案版本最低版本設定為 iOS。
設定 iOS architectures
Build Setting -> Architectures -> Architectures
Architectures 改為
Standard architectures
設定 iOS 版本
Build Setting -> Deployment -> iOS Deployment Target
iOS Deployment Target 改為
iOS 11.0
iOS Distribution Error
ERROR ITMS-90534
Solution - iOS Distribution Error
請使用 Xcode 11.2.1 輸出,即可修正。
參考文章
Unity Xcode Error “library not found for -” の解決方法
Can’t submit apps to AppStore: ERROR ITMS-90534: “Invalid Toolchain