ramon
January 11, 2017, 7:17am
3
Related issue in push plugin repo:
opened 08:29PM - 24 Sep 16 UTC
closed 07:54PM - 06 Sep 17 UTC
ios
on hold
### Expected Behaviour
Build success
### Actual Behaviour
Build fails
### Repr… oduce Scenario (including but not limited to)
```
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.6.0
Xcode version: Xcode 8.0 Build version 8A218a
```
#### Steps to Reproduce
1. `ionic build ios`
2. Open "yourAppFolder"/platforms/ios/yourAppName.xcodeproj
3. Build
#### Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 10.0.2
#### Cordova CLI version and cordova platform version
cordova 6.3.1
ios 4.2.1
#### Plugin version
phonegap-plugin-push 1.8.2
#### Logs taken while reproducing problem
```
ld: warning: object file (/Users/nunoarruda/repos/zee-p3-app/platforms/ios/zee-p3-app/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(Descriptor.pb.o)) was built for newer iOS version (8.3) than being linked (8.0)
ld: warning: object file (/Users/nunoarruda/repos/zee-p3-app/platforms/ios/zee-p3-app/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(ObjectivecDescriptor.pb.o)) was built for newer iOS version (8.3) than being linked (8.0)
ld: warning: object file (/Users/nunoarruda/repos/zee-p3-app/platforms/ios/zee-p3-app/Plugins/phonegap-plugin-push/GCM/Libraries/libProtocolBuffers.a(PBArray.o)) was built for newer iOS version (8.3) than being linked (8.0)
...
ld: 270 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Anyway, for me the below solve it:
PushPlugin uses Cocoa Pods now, once it is installed you can not run your regular yourProjectName.xcodeproj file you must open a new file that was creating after you installed PushPlugin called yourProjectName.xcworkspace.
from here .