phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

iOS lot of warnings #935

Closed jffs closed 8 years ago

jffs commented 8 years ago

after i build my app, I get this warnings:

PushPlugin.m

PushPlugin.m:536:17: Incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'id'

PushPlugin.m:579:24: Unused variable 'app'

Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(Descriptor.pb.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(ObjectivecDescriptor.pb.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBArray.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBCodedInputStream.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBDescriptor.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBUtilities.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBExtensionField.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBExtensionRegistry.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBField.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBGeneratedMessage.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBRootObject.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBCodedOutputStream.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBUnknownFieldSet.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): Object file (/Users/juampi/Desktop/LIDI/FacInfoApp/Frontend/platforms/ios/Informática UNLP/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBWireFormat.o)) was built for newer iOS version (8.3) than being linked (8.0)

(null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/1JNUDWCYE5LC7/Foundation-A3SOD99KJ0S9.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/1JNUDWCYE5LC7/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/1JNUDWCYE5LC7/Darwin-MI6WZSG1PNOM.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/1JNUDWCYE5LC7/SystemConfiguration-2O070L5BFB5B1.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/3ITUVTFWQXGWD/Foundation-A3SOD99KJ0S9.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/3ITUVTFWQXGWD/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory (null): warning: /var/folders/f4/lg23spf10fv19twg_lmrp8zm0045gx/C/org.llvm.clang.136701/ModuleCache/3ITUVTFWQXGWD/Darwin-MI6WZSG1PNOM.pcm: No such file or directory

How could I solved it? the build was success but the app crashed. My system info is: Your system information:

Cordova CLI: 6.1.1 Ionic Version: 1.3.0 Ionic CLI Version: 1.7.14 Ionic App Lib Version: 0.7.0 ios-deploy version: 1.8.6 ios-sim version: 5.0.8 OS: Mac OS X El Capitan Node Version: v4.1.0 Xcode version: Xcode 7.3.1 Build version 7D1014

macdonst commented 8 years ago

@jffs the warnings are fine, the crash is not. What are the circumstances of the crash.

jffs commented 8 years ago

my fault, it was another thing.

lock[bot] commented 6 years ago

This thread has been automatically locked.