You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running the script and then opening Xcode, Xcode created a new set of schemes. Running xcodebuild from the command line referencing the Xcodeproj schemes fails reporting an unknown scheme error.
Fixing this bug would enable using cmake to generate an xcode project from the command line and then building and packaging the app without having to open xcode. Opening xcode is necessary now to generate the scheme files (http://www.cmake.org/Bug/view.php?id=15441). We wanted to use Xcodeproj to avoid this in our continuous builder.
The changes between the xcode generated schemes and the Xcodeproj generated schemes seem to be
LastUpgradeVersion is now 0630
The LaunchAction section now has a MacroExpansion section.
The container path in ReferencedContainer is now prefixed with one more level of directory (i.e. build/xcode-ios/project.xcodeproj vs xcode-ios/project.xcodeproj)
For others looking to generate an archive from the command line using xcodebuild, this change (hack) seems to be enough: airtimemedia@2f0bfc6. This is not a full fix for this issue by any means.
Xcode won't use the schemes in Xcode, but for archiving purposes in xcodebuild they seem to be good enough.
This was observed using a cmake generated xcodeproj which was then used to generate schemes using the following script:
After running the script and then opening Xcode, Xcode created a new set of schemes. Running xcodebuild from the command line referencing the Xcodeproj schemes fails reporting an unknown scheme error.
Fixing this bug would enable using cmake to generate an xcode project from the command line and then building and packaging the app without having to open xcode. Opening xcode is necessary now to generate the scheme files (http://www.cmake.org/Bug/view.php?id=15441). We wanted to use Xcodeproj to avoid this in our continuous builder.
The changes between the xcode generated schemes and the Xcodeproj generated schemes seem to be
LastUpgradeVersion
is now 0630LaunchAction
section now has a MacroExpansion section.ReferencedContainer
is now prefixed with one more level of directory (i.e. build/xcode-ios/project.xcodeproj vs xcode-ios/project.xcodeproj)The text was updated successfully, but these errors were encountered: