ios - bundle format is ambiguous (could be app or framework) while making Archive -


i have integrated this oauth library have followed installation instruction, app builds fine in developing mode, while making archive getting this,

codesign /users/shujaathaider/library/developer/xcode/deriveddata/jamesappv2-hhfnrydqoghbzpgsvepxtuzarqrc/build/intermediates/archiveintermediates/home\ automation\ sys\ swift/intermediatebuildfilespath/uninstalledproducts/oauth2.framework     cd "/users/shujaathaider/desktop/workspace_qadir/jamesapp - development/oauth2-master"     export codesign_allocate=/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/codesign_allocate     export path="/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"  signing identity:     "iphone developer: ghulam hemani (hb4llmx2dd)"      /usr/bin/codesign --force --sign c72d0e8eebe104d1ea0aa0d15558ef38808250f3 /users/shujaathaider/library/developer/xcode/deriveddata/jamesappv2-hhfnrydqoghbzpgsvepxtuzarqrc/build/intermediates/archiveintermediates/home\ automation\ sys\ swift/intermediatebuildfilespath/uninstalledproducts/oauth2.framework  /users/shujaathaider/library/developer/xcode/deriveddata/jamesappv2-hhfnrydqoghbzpgsvepxtuzarqrc/build/intermediates/archiveintermediates/home automation sys swift/intermediatebuildfilespath/uninstalledproducts/oauth2.framework: bundle format ambiguous (could app or framework) command /usr/bin/codesign failed exit code 1 

here how have integrated library:

enter image description here

you integrating both os x and ios versions of framework app. need ios version, remove oauth2 (oauth2) target dependencies , remove oauth.framework ...in build/debug copy frameworks.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -