Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49215

Ionic packaging for iOS fails when adding onesignal

$
0
0

@Avislux wrote:

I’m trying to build a cross platform app without a mac. I’m having no problems with Android. I’ve spent several hours or so dealing with iOS certificates with OpenSSL After this confusing process. I’ve managed to narrow down my problems to this last part. The app won’t package for iOS.

Relevant portion of the build log:

Installing “onesignal-cordova-plugin” for ios
Failed to install ‘onesignal-cordova-plugin’:undefined Failed to restore plugin “onesignal-cordova-plugin” from config.xml. You might need to try adding it again.
Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/

and a bit further down the build log…

[00:03:31]: ▸ e[35mIn file included from /Users/ionic/builds/f44814b7/0/project-1/platforms/ios/MyOLS/Plugins/onesignal-cordova-plugin/OneSignalPush.m:31:e[0m [00:03:31]:
▸ e[35m/Users/ionic/builds/f44814b7/0/project-1/platforms/ios/MyOLS/Plugins/onesignal-cordova-plugin/OneSignalPush.h:32:9: fatal error: ‘OneSignal/OneSignal.h’ file not founde[0m [00:03:31]:
▸ e[35m#import <OneSignal/OneSignal.h>e[0m [00:03:31]:
▸ e[35m ^e[0m [00:03:31]: ▸ e[35m1 error generated.e

Any way around this without using a Mac?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>