简体   繁体   English

建立应用商店时出现XCode错误

[英]XCode error when buiding for app store

Since the start of 2015 apple have new restrictions that say you must have 64-bit support and build with ios 8 SDK. 自2015年初以来,Apple有了新的限制,即必须具有64位支持并使用ios 8 SDK进行构建。 I built my code with Unity for IOS, then opened XCode and opened the file I just created through Unity. 我使用Unity for IOS构建代码,然后打开XCode并打开我刚通过Unity创建的文件。 I built it inside XCode fine with no errors. 我在XCode中很好地构建了它,没有错误。 I then go to archive it and validate it. 然后,我将其存档并进行验证。 It then tells me about the new restrictions that I have mentioned above. 然后,它告诉我有关我上面提到的新限制的信息。

It says to use the default architecture to build a single binary. 它说使用默认架构来构建单个二进制文件。 I go and change the architecture to suit this. 我去改变架构以适应这一点。 Then I do a fresh build and it gives me an error saying "File is universal (2 slices) but does not contain a(n) armv7s slice". 然后,我重新构建,它给我一个错误,说“文件是通用文件(2个切片),但不包含a(n)armv7s切片”。 I researched this error and it said to just remove armv7s from the architecture. 我研究了此错误,并说只是从体系结构中删除了armv7。 I did this and built again. 我这样做了,然后又建造了。

I then get the error "missing required architecture arm64 in file ..... undefined symbols for architecture arm64". 然后,我得到错误“在文件中缺少所需的体系结构arm64 .....体系结构arm64的未定义符号”。 I know this means that some of my libraries are not supported for arm64. 我知道这意味着arm64不支持我的某些库。 I take out arm64 from architecture and then I am back to the start where it says I need to build for 64-bit. 我从体系结构中删除了arm64,然后回到说我需要为64位构建的起点。

Has anyone come across this type of problem before and may have a solution. 有没有人遇到过此类问题,并且可能有解决方案。

Many thanks in advance 提前谢谢了

You need to make a new build from Unity.From Player Settings -> Iphone -> Other settings -> Configuration . 您需要从Unity.From Player Settings-> Iphone-> Other settings-> Configuration进行新的构建。 Under Scripting backend select IL2CPP and then under Architecture select Universal. 在“脚本后端”下,选择“ IL2CPP”,然后在“体系结构”下,选择“通用”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Xcode 6重新建立应用程序时OSStatus错误2003334207 - OSStatus error 2003334207 while re-buiding the App from Xcode 6 尝试将应用程序上传到App Store时,Xcode会产生SSL错误 - Xcode produces an SSL error when attempting to upload app to App Store 提交到App Store时xcode中出现ITMS-90032错误 - Error ITMS-90032 in xcode when submitting to App Store Xcode 5 iPhone应用程序应用商店上传错误 - Xcode 5 iPhone app app store upload error 通过 Xcode 将应用程序分发到 App Store Connect 时出错 - 需要 iOS 部署目标为 3.0 或更高版本 - Error when distributing app through Xcode to App Store Connect - requires iOS Deployment Target of 3.0 or higher 导出或提交到App Store时Xcode崩溃 - Xcode crashes when exporting or submitting to App Store 尝试在 App Store Xcode 6 中上传 ipa 时出现错误 ITMS-90098 - ERROR ITMS-90098 when trying upload ipa in App Store Xcode 6 xcode:由于应用程序图标错误而无法上载应用程序至存储 - xcode: can't upload app to store because of app Icon error 在XCode 7.3中将应用程序提交到App Store时,“没有匹配的配置文件” - “No matching provisioning profiles” when Submitting App to App Store in XCode 7.3 Xcode将应用提交到商店 - Xcode submit the app to the store
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM