How can I customize the xcodebuild invocation?
Is it possible to customize the arguments and environment variables that are used when xcodebuild is invoked by Appcode for a specific target? Specifically, I'm interested in overriding (omitting) the
ARCHSand
ONLY_ACTIVE_ARCHenvironment variables. I have a situation where by target builds fine in Xcode but not in AppCode/xcodebuild due to a dependent target that is only built for armv7. For a quick and immediate fix I would like to change the invocation so I can continue building from Appcode.
Thanks.
请先登录再写评论。
No, this is not possible.
Are you using AppCode 1.5.7 or AppCode 1.6 EAP?
Does it occur in 1.6 EAP (http://blog.jetbrains.com/objc/2012/07/appcode-1-6-eap-120-160-new-build-new-features/)?
If yes, please create a bug report and attach a sample project, if possible - we'll fix it int the next EAP build.
Yes, it happens with 1.6 as well. How does AppCode determine what arguments to pass to ARCHS? It would be nice it this were configurable or overridable somehow. I'll try to create a project to reproduce the issue. Thanks.
The ARCHS are taken from the build settings.
Which archs are passed to ypur build and that are the actual archs?