UserEngage / iOS-SDK

MIT License
0 stars 2 forks source link

CFBundleSupportedPlatforms contains multiple platforms #2

Open orestesgaolin opened 4 years ago

orestesgaolin commented 4 years ago

While building my app with UserSDK for release I encountered following error:

Error Domain=IDEFoundationErrorDomain Code=1 "UserSDK.framework/Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform, e.g. CFBundleSupportedPlatforms = [ iPhoneOS ], but it has CFBundleSupportedPlatforms = ["iPhoneOS", "iPhoneSimulator"]" UserInfo={NSLocalizedDescription=UserSDK.framework/Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform, e.g. CFBundleSupportedPlatforms = [ iPhoneOS ], but it has CFBundleSupportedPlatforms = ["iPhoneOS", "iPhoneSimulator"]}

Is there anything we can do to workaround this? The only thing I found was this, which would mean we have to fork your repository to make it work.

I'm ccing @robertodrowaz who tries to solve this issue with me.

orestesgaolin commented 4 years ago

We try to manually edit the plist during compilation and extract only one architecture with lipo but we have a lot of problems with it. Could you please release pod with only single platform?

cc: @wojtczakmat