ios - Xcode 7 beta - build error (xcassets) -


i install xcode 7 beta , converted swift project swift 2 guidelines.

build ok xcassets: reached error in logs:

compileassetcatalog /users/phoenix/library/developer/xcode/deriveddata/{...}/build/products/debug-iphoneos/{...}.app {...}/images.xcassets cd /users/phoenix/dev/xcode/{...} export path="/applications/xcode-beta.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/applications/xcode-beta.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /applications/xcode-beta.app/contents/developer/usr/bin/actool --output-format human-readable-text\     --notices --warnings --export-dependency-info /users/phoenix/library/developer/xcode/deriveddata/{...}/build/intermediates/{...}.build/debug-iphoneos/{...}.build/assetcatalog_dependencies.txt     --output-partial-info-plist /users/phoenix/library/developer/xcode/deriveddata/{...}/build/intermediates/{...}.build/debug-iphoneos/{...}.build/assetcatalog_generated_info.plist\     --app-icon appicon --launch-image launchimage --compress-pngs\     --enable-on-demand-resources yes --target-device iphone --target-device ipad\     --minimum-deployment-target 7.0 --platform iphoneos --compile\     /users/phoenix/library/developer/xcode/deriveddata/{...}/build/products/debug-iphoneos/{...}.app\     /users/phoenix/dev/xcode/{...}/images.xcassets /users/phoenix/dev/xcode/{...}/images.xcassets: error:     failed find suitable device type simdevicetype : com.apple.coresimulator.simdevicetype.ipad-2 runtime simruntime :     9.0 (13a4254u) - com.apple.coresimulator.simruntime.ios-9-0 failure reason: failed create new simulator device matches simdevicetype :     com.apple.coresimulator.simdevicetype.ipad-2 runtime simruntime :     9.0 (13a4254u) - com.apple.coresimulator.simruntime.ios-9-0 ((null)) 

upd: when try launch ios simulator "open developer tools" menu dock reach error:

dyld error message: library not loaded:     @rpath/simulatorkit.framework/versions/a/simulatorkit referenced from: /applications/xcode-beta.app/contents/developer/applications/simulator.app/conte‌​nts/macos/simulator reason: image not found 

upd2: when trying launch simulator terminal got warning:

$ applications/simulator.app/contents/macos/simulator  dyld: warning, lc_rpath @loader_path/../../../../library/privateframeworks in /applications/xcode-beta.app/contents/developer/applications/simulator.app/contents/macos/simulator being ignored in restricted program because of @loader_path dyld: library not loaded: @rpath/simulatorkit.framework/versions/a/simulatorkit   referenced from: /applications/xcode-beta.app/contents/developer/applications/simulator.app/contents/macos/simulator   reason: image not found 

i think main issue...

navigate ~/library/developer/coresimulator/profiles/runtimes, remove runtime - runtime old. after, reboot xcode7, , launch simulator...

further explanation @seancook:

i experienced this, too, on el capitan. nibs wouldn't load, no sims present, , unable launch simulators through xcode/open developer tool/simulator menu. after fighting few hours i've got working.

here's worked me (ymmv): noticed message in console.app along lines of simulator runtime not being code signed. went path described "/library/developer/coresimulator/profiles/runtimes" , removed runtimes had there. old runtimes, assume check in xcode applies didn't previously. knows?

after doing this, finally launch simulator via xcode/open developer tool menu. unfortunately, simulator still wasn't being shown run target in workspace, kept spelunking...

i went simulator's hardware/devices/manage devices menu , added new ios9 device. didn't seem anything, quit out of xcode , simulator.app. re-started simulator.app (via xcode/odt/simulator) , lo , behold expected ios9 simulators displayed. closed , re-opened xcode, changed target os project, , sims displayed run targets.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -