Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 822
thekbb Avatar asked Jun 23 '26 11:06

thekbb


1 Answers

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 !

like image 65
Jonnefoy Avatar answered Jun 25 '26 17:06

Jonnefoy