[ 
https://issues.apache.org/jira/browse/CB-12888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16105822#comment-16105822
 ] 

Filip Maj commented on CB-12888:
--------------------------------

For the record, I get this with Xcode 8.3.3, using latest cordova-ios master.

Running {{cordova emulate ios --list}} yields a list of targets I can feed into 
{{cordova emulate ios --target="blah"}}. If I try to run that I get:

{noformat}
➔ cordova -d emulate ios --target="iPhone-7, 10.3"
Warning: using prerelease version 7.0.2-dev ([email protected])
No scripts found for hook "before_emulate".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been 
added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with 
most current list of platforms.
PlatformApi successfully found for platform ios
Checking config.xml for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in 
ios platform
No differences found between plugins added to project and installed in ios 
platform. Continuing...
Generating platform-specific config.xml from defaults for iOS at 
/Users/maj/src/cordova-web-platform-tests/platforms/ios/WebPlatformTests/config.xml
Merging project's config.xml into platform-specific iOS config.xml
Merging and updating files from [www, platforms/ios/platform_www] to 
platforms/ios/www
Current launch storyboard undefined
Not changing launch storyboard setting in info plist.
Wrote out iOS Bundle Identifier "io.cordova.hellocordova" and iOS Bundle 
Version "1.0.0" to 
/Users/maj/src/cordova-web-platform-tests/platforms/ios/WebPlatformTests/WebPlatformTests-Info.plist
No need to update build settings for launch storyboard support.
iOS Product Name has not changed (still "WebPlatformTests")
This app does not have icons defined
This app does not have splash screens defined
Updating launch storyboard images at 
platforms/ios/WebPlatformTests/Images.xcassets/LaunchStoryboard.imageset/
Updating Storyboard image set contents.json
This app does not have additional resource files defined
Prepared iOS project successfully
No scripts found for hook "after_prepare".
Error: Cannot read property 'name' of undefined
{noformat}

This is with cordova-ios SHA {{8edd13aaee16d6996a4560a74d17798437b42c6f}}.

> cordova emulate ios doesn't work in iOS 11
> ------------------------------------------
>
>                 Key: CB-12888
>                 URL: https://issues.apache.org/jira/browse/CB-12888
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>         Environment: iOS 11 beta 1
>            Reporter: Shazron Abdullah
>              Labels: backlog, ios11
>             Fix For: [email protected]
>
>
> Even with target:
> {code}
> $ cordova emulate ios --target="iPhone 6"
> Error: Cannot read property 'name' of undefined
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to