I am getting the following issue when trying to submit my app to app store. The issue has to do with PubNub embedded binaries.
Tried this answer but it didn't work. Haven't got much more online about the issue. ERROR ITMS-9000: "Unsupported architectures. Your executable contains unsupported architectures '[x86_64, i386]'"
Just one thing, switching to Pods is not an option as PubNub with pods won't even validate the file. So the only other way I could get PubNub to work was with embedded binaries and that is what is causing the problem with app store upload.
Also, I got both PubNub and LumberJack built as per: https://www.pubnub.com/docs/swift/pubnub-swift-sdk
If I remove PubNub as embedded binaries it uploads to app store, but then I get the following error.
dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack Referenced from:
/Users/xxxxxx/Library/Developer/CoreSimulator/Devices/xxxxxx/data/Containers/Bundle/Application/xxxxxx/xxxxxx.app/xxxxxx Reason: image not found (lldb)
And bellow are the errors I get when uploading to app store with pubnub embedded binaries.