我使用Azure iOS SDK创建了一个小应用程序。在尝试存档应用时,我收到以下错误
ld: warning: ignoring file /Users/Mayu/Documents/development/git/pizzatogo/iPhoneApp/Pizza to Go/WindowsAzureMessaging.framework/WindowsAzureMessaging, missing required architecture arm64 in file /Users/Mayu/Documents/development/git/pizzatogo/iPhoneApp/Pizza to Go/WindowsAzureMessaging.framework/WindowsAzureMessaging (3 slices)
ld: warning: ignoring file /Users/Mayu/Documents/development/git/pizzatogo/iPhoneApp/Pizza to Go/WindowsAzureMobileServices.framework/WindowsAzureMobileServices, missing required architecture arm64 in file /Users/Mayu/Documents/development/git/pizzatogo/iPhoneApp/Pizza to Go/WindowsAzureMobileServices.framework/WindowsAzureMobileServices (3 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_MSUser", referenced from:
objc-class-ref in AuthService.o
"_OBJC_CLASS_$_MSClient", referenced from:
objc-class-ref in AuthService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我不知道出了什么问题,哪里......似乎有些参考错误。
DId一些谷歌搜索并将应用程序的架构更改为armv7但仍然没有运气。有人可以帮助我,因为我对Objective C和iOS很新。感谢您提前的时间。
答案 0 :(得分:1)
问题是我的。我在构建体系结构中也有64个。删除它并将其设置为armv7,它就像魅力一样。