Skip to content

Work correctly if iOS runtime version is lower than 1.3#834

Merged
rosen-vladimirov merged 2 commits into
masterfrom
fatme/work-correctly-with-ios-runtme
Sep 2, 2015
Merged

Work correctly if iOS runtime version is lower than 1.3#834
rosen-vladimirov merged 2 commits into
masterfrom
fatme/work-correctly-with-ios-runtme

Conversation

@Fatme
Copy link
Copy Markdown
Contributor

@Fatme Fatme commented Aug 31, 2015

Fixes #832

@Fatme Fatme added this to the 1.3.0 milestone Aug 31, 2015
@Fatme Fatme added the bug label Aug 31, 2015
@ns-bot
Copy link
Copy Markdown

ns-bot commented Aug 31, 2015

@Fatme Fatme force-pushed the fatme/work-correctly-with-ios-runtme branch from 561692e to 52a2f50 Compare August 31, 2015 08:42
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may use future.fromResult here

@ns-bot
Copy link
Copy Markdown

ns-bot commented Aug 31, 2015

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both return statements build the same path - is this expected?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The paths are different - path.join(this.platformData.projectRoot, this.$projectData.projectName, "Resources", "icons"); and path.join(this.platformData.projectRoot, this.$projectData.projectName, "Resources");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh dear, the last part ("icons") went on another line on my monitor and I missed it completely. I am so sorry.

@teobugslayer
Copy link
Copy Markdown
Contributor

tests are failing:

Npm support tests
TypeError: Object #<Object> has no method 'getAppResourcesDestinationDirectoryPath'
    at FiberFuture.Future.wait (/home/travis/build/NativeScript/nativescript-cli/node_modules/fibers/future.js:535:15)
    at Context.<anonymous> (/home/travis/build/NativeScript/nativescript-cli/test/npm-support.js:145:39)
    at /home/travis/build/NativeScript/nativescript-cli/node_modules/mocha-fibers/lib/mocha-fibers.js:25:14
    - - - - -
    at /home/travis/build/NativeScript/nativescript-cli/lib/services/platform-service.js:133:81
    at Function.settle (/home/travis/build/NativeScript/nativescript-cli/node_modules/fibers/future.js:249:26)
    at FiberFuture.Future.wait (/home/travis/build/NativeScript/nativescript-cli/node_modules/fibers/future.js:534:10)
    at Context.<anonymous> (/home/travis/build/NativeScript/nativescript-cli/test/npm-support.js:145:39)
    at /home/travis/build/NativeScript/nativescript-cli/node_modules/mocha-fibers/lib/mocha-fibers.js:25:14

@rosen-vladimirov rosen-vladimirov force-pushed the fatme/work-correctly-with-ios-runtme branch from 52a2f50 to 8829fda Compare September 2, 2015 07:47
@ns-bot
Copy link
Copy Markdown

ns-bot commented Sep 2, 2015

Fix unit tests
@rosen-vladimirov rosen-vladimirov force-pushed the fatme/work-correctly-with-ios-runtme branch from 8829fda to 3488c61 Compare September 2, 2015 08:04
@ns-bot
Copy link
Copy Markdown

ns-bot commented Sep 2, 2015

@teobugslayer
Copy link
Copy Markdown
Contributor

👍

rosen-vladimirov added a commit that referenced this pull request Sep 2, 2015
…os-runtme

Work correctly if iOS runtime version is lower than 1.3
@rosen-vladimirov rosen-vladimirov merged commit eb334df into master Sep 2, 2015
@rosen-vladimirov rosen-vladimirov deleted the fatme/work-correctly-with-ios-runtme branch September 2, 2015 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants