简体   繁体   English

在Xcode 7中从Unity构建iOS时出错

[英]Error while building for iOS from Unity in Xcode 7

I'm getting this error which is causing a build fail in Xcode after building the project from Unity: 我收到此错误,导致从Unity构建项目后Xcode中的构建失败:

fatal error: lipo: can't write to output file: /Users/applemac/Library/Developer/Xcode/DerivedData/Unity-iPhone-hdkycurnjlkvikcljdgvlfnbmsua/Build/Products/Release-iphoneos/spacegame.app.dSYM/Contents/Resources/DWARF/spacegame.lipo (Undefined error: 0)

What does it mean and how do I fix it? 它是什么意思,我该如何解决? The app is for iPhone and iPad if it makes any difference. 该应用适用于iPhone和iPad,如果它有任何区别。 Thanks in advance. 提前致谢。

I got it to work, I just made a simple change in my Project target-> Build setting-> Build Active Architecture only and set this Build Active Architecture only to YES. 我得到它的工作,我只是在我的项目目标 - >构建设置 - >仅构建活动架构中进行了一个简单的更改,并将此构建活动架构仅设置为YES。 And it's working fine now.. 它现在工作正常..

another think you can try is -> Again I face this issue after updating. 另一个认为你可以尝试的是 - >我再次在更新后面对这个问题。 This time I have to update Project target-> Build setting->Valid Architecture to armv7. 这次我必须将Project target-> Build setting-> Valid Architecture更新为armv7。 I removed armv7s and arm64. 我删除了armv7s和arm64。

the third thing which might work -> delete your application and run a new build 第三件可行的工作 - >删除你的应用程序并运行一个新的构建

plz tell me the result 请告诉我结果

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM