ios - Project wont run on simulator in xcode 8 -


after upgrading xcode8, project no longer run on simulator (runs on device)

error:

  /users/johnsmith/library/developer/xcode/deriveddata/jt-fnslglvifmonzwhlgrchcqujqiwt/build/products/debug-iphonesimulator/ assets.bundle: directory      command /usr/bin/codesign failed exit code 1 

i have deleted entire deriveddata folder , cleaned project several times no success. ideas how fix please?

if using cocoapods (especially older version), you'll notice resource bundle targets in pods project file don't have info.plist. set them using cocoapods generic info.plist , it'll run. not permanent solution. reset on next pod install

https://forums.developer.apple.com/thread/66538

edit: if don't happen have generic plist file in project create new file info.plist in pods target support files/pods-<app name>/ , paste this

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>   <key>cfbundledevelopmentregion</key>   <string>en</string>   <key>cfbundleidentifier</key>   <string>org.cocoapods.${product_name:rfc1034identifier}</string>   <key>cfbundleinfodictionaryversion</key>   <string>6.0</string>   <key>cfbundlename</key>   <string>${product_name}</string>   <key>cfbundlepackagetype</key>   <string>bndl</string>   <key>cfbundleshortversionstring</key>   <string>1.0.0</string>   <key>cfbundlesignature</key>   <string>????</string>   <key>cfbundleversion</key>   <string>${current_project_version}</string>   <key>nsprincipalclass</key>   <string></string> </dict> </plist> 

edit 2: fixed values above. apple won't accept when uploading app store way was. shouldn't have cfbundleexecutable , cfbundlepackagetype should set bndl


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -