Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Unsupported architectures error #43

Closed
Gortmann opened this issue Oct 27, 2014 · 7 comments
Closed

Unsupported architectures error #43

Gortmann opened this issue Oct 27, 2014 · 7 comments

Comments

@Gortmann
Copy link

I followed your instructions as detailed in the ReadMe to add as a framework, but I am unable to get the project into the App Store with Xcode 6.1. The project works fine in the simulator and devices.

The error says: "iTunes Store operation failed. Unsupported Architectures. Your executable contains unsupported architectures '[x86_64, i386]'."

The error does go away if I remove the Live SDK.

@Gortmann
Copy link
Author

This answer from an Apple engineer seems to provide additional information about the issue: https://devforums.apple.com/message/1048562#1048562

@aclev
Copy link
Contributor

aclev commented Oct 27, 2014

To un block you for now, is it possible you follow the steps in ReadMe section 2.2 ? This will include the source in your project so only the architectures you need will be built.

@Gortmann
Copy link
Author

I just tried the steps in 2.2 but I'm using ARC. I tried converting just the files from the library using the ARC option from the refactor menu item, but got a lot of errors, warnings, and ultimately a notice saying the conversion was unsuccessful.

Perhaps I am doing something wrong in the conversion, but I am not in a rush to get this into the App Store. What I would appreciate is just a confirmation that I am not the only one seeing this and perhaps a time frame of when it will be addressed.

@aclev
Copy link
Contributor

aclev commented Oct 27, 2014

Try this branch https://github.com/liveservices/LiveSDK-for-iOS/tree/ArcEnabled. You are not the only one seeing this problem. It is unclear when we can get a fix out for this issue. For now this branch should have everything you need to keep working.

@Gortmann
Copy link
Author

It shows up as that branch still isn't properly converted. Even if I try the refactor option again I still get errors. Again, I may be doing something wrong. I think I'll wait for this to be fixed. But thanks for confirming the issue.

@aclev
Copy link
Contributor

aclev commented Oct 27, 2014

When you add the files to your project you must add the compiler flag -fno-objc-arc to each file from the LiveSDK. To do this go to the target that the files have been added to -> select Build Phases ->Compile Sources and on the right side of the table you can see the compiler flags section.

@Gortmann
Copy link
Author

That worked. Thank you for everything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants