swift - AWS Framework and XCode Conundrum -
this question has answer here:
i trying upload xcode project app store , running frameworks related issues. project has awscore framework, rather cocoa pods route, has been manually downloaded , added project. has been added both 'build phases' settings of target - 'embedded binaries' , 'linked frameworks , libraries'. these 2 setting combined however, might causing below mentioned issues while uploading project app store:
error itms-90087: "unsupported architectures. executable /frameworks/awscore.framework contains unsupported architectures '[x86_64, i386]’."
error itms-90209: "invalid segment alignment. /frameworks/awscore.framework/awscore' not have proper segment alignment. try rebuilding app latest xcode version."
i have latest version of xcode, not sure why getting second error message. stackoverflow posts suggested removing framework 'embedded binaries' section of 'build phases', that's introducing following run time error:
dyld: library not loaded: @rpath/awscore.framework/awscore referenced from: /var/containers/bundle/application/
this seems quite conundrum. wondering if else has run same issue , has been fix? thanks!
as pointed out william gp in comments question, question similar 1 asked here: submit app store issues: unsupported architecture x86.
please see following link described analysis of problem , detailed solution daniel kennett: http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
Comments
Post a Comment