Issues with Xc4 coexisting with Xc3
Issues with Xc4 coexisting with Xc3
- Subject: Issues with Xc4 coexisting with Xc3
- From: Rick Mann <email@hidden>
- Date: Mon, 17 Oct 2011 14:26:38 -0700
I have both 3.2.6 and 4.2 on my machine. I installed 3.2.6 in the default location, then installed 4.2 in a separate location, and let it install the Unix tools.
This broke iOS app submission. When 3.2.6 tries to submit, it appears to run a command-line tool that likely came from Xcode 4, and references stuff inside the Xc4 installation:
10/17/11 14:05:06 Xcode[41075] Running /usr/bin/xcrun with (
"-sdk",
iphoneos,
PackageApplication,
"-v",
"/Users/me/Library/Application Support/Developer/Shared/Archived Applications/63807371-6BF0-45CF-A6EC-08FEA4A4A749.apparchive/MyApp.app",
"-o",
"/var/folders/0O/0O9Zc+ZKFCy+BtbYF754gk+++TI/-Tmp-/BE170025-88B2-4677-8BC9-6D757B1E3DBD-41075-0001A6EE971F6267/app.ipa",
"--sign",
"iPhone Distribution: My Cert Name",
"--embed",
"/Users/me/Library/MobileDevice/Provisioning Profiles/E71251F4-C0AD-4B97-B277-EC5C4B5B115D.mobileprovision"
)
and it gets some additional errors:
10/17/11 14:05:06 [0x0-0xbd5bd5].com.apple.Xcode[41075] sh: /Developer/Xc4/usr/bin/xcodebuild: No such file or directory
10/17/11 14:05:06 [0x0-0xbd5bd5].com.apple.Xcode[41075] /Developer/Xc4/usr/bin/xcodebuild fails with 32512 - Unknown error: 32512
10/17/11 14:05:06 Xcode[41075] unknown compression method
10/17/11 14:05:06 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:06 myhost.domain.com Xcode[41075] <Error>: unknown compression method
10/17/11 14:05:06 Xcode[41075] incorrect header check
10/17/11 14:05:06 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:06 myhost.domain.com Xcode[41075] <Error>: incorrect header check
10/17/11 14:05:06 Xcode[41075] incorrect header check
10/17/11 14:05:06 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:06 myhost.domain.com Xcode[41075] <Error>: incorrect header check
10/17/11 14:05:10 Xcode[41075] unknown compression method
10/17/11 14:05:10 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:10 myhost.domain.com Xcode[41075] <Error>: unknown compression method
10/17/11 14:05:10 Xcode[41075] incorrect header check
10/17/11 14:05:10 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:10 myhost.domain.com Xcode[41075] <Error>: incorrect header check
10/17/11 14:05:10 Xcode[41075] incorrect header check
10/17/11 14:05:10 [0x0-0xbd5bd5].com.apple.Xcode[41075] Mon Oct 17 14:05:10 myhost.domain.com Xcode[41075] <Error>: incorrect header check
10/17/11 14:07:00 Application Loader[46272] *** Warning: Defaulting to the standard codesign tool
So, I went to Xcode 4 to submit. It complained that the architecture for my iPad/iPhone universal app was incorrect, and sure enough, its "standard" setting included only armv7. It had valid archs including both armv6 and armv7, but I had to explicitly enter "armv6 armv7" in the Architectures build setting to get it to finally work.
Note that Xc3 shows this correctly for the project, but Xc4 does not.
Any ideas on these two issues? Thanks!
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden