thekbb
thekbb

Reputation: 7924

ionic error generating xcode project with ionic build ios

My ionic project was previously building - however I can no longer generate the xcode project.

when I do a ionic build ios I get:

~/ionic-project/platforms/ios/ionic-project/Plugins/ionic-plugin-deploy/IonicDeploy.m:345:27: error: no visible @interface for 'UIView' declares the selector 'loadRequest:'
            [self.webView loadRequest: [NSURLRequest requestWithURL:components.URL] ];
             ~~~~~~~~~~~~ ^~~~~~~~~~~
2 warnings and 1 error generated.

There is a similar error mentioned in the ionic forums, but the 'solution' makes no sense.

I'm running OSX 10.10.5

node 4.2.6

ionic 1.7.14

xcode 7.2

Upvotes: 3

Views: 555

Answers (1)

Jonnefoy
Jonnefoy

Reputation: 86

There is a pull request waiting who fix this issue:

https://github.com/driftyco/ionic-plugin-deploy/pull/50

[email protected] has deprecated some features (see https://github.com/apache/cordova-ios/blob/master/RELEASENOTES.md)

I hope it helps. Bye !

Upvotes: 1

Related Questions