iOS error when adding Ionic Deploy with Ionic v1

When I try to add ionic deploy I get a build error that results in the following, when I remove the Ionic Deploy plugin it seems to work fine. Android also seems to install and run ok:

ld: 68 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


The following build commands failed:

        Ld /Users/xxxxx/Library/Developer/Xcode/DerivedData/KenGarff_sales-ctakiphgdqxwpletvqkvbpsfdkwh/Build/Intermediates/ArchiveIntermediates/KenGarff_sales/IntermediateBuildFilesPath/ normal arm64
(1 failure)

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/5TB/dev/0 Ionic Projects/xxxxx_new/platforms/ios/cordova/build-debug.xcconfig,-workspace, xxxxx_sales.xcworkspace,-scheme, xxxxx_sales,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,KenGarff_sales.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Volumes/5TB/dev/0 Ionic Projects/xxxxx_new/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/5TB/dev/0 Ionic Projects/xxxxx_new/platforms/ios/build/sharedpch

I changed your post to format your code or error message correctly. Please use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

What command do you run to get this error?
Did you change anything in the XCode project?
How did you install Ionic Deploy?

Thank you for your reply.

I am just using the ionic run iOS --device when I get the error.

If I completely remove the ionic deploy plugin it works fine. So I don’t know if it’s conflicting with another plugin or not.

Does the order of the plugins make a difference. I use deploy in other projects and they work fine.

Side note I was using codePush in it and the plugin is still in there. Could that be the conflict?

Normally not.[quote=“brandonbatie, post:3, topic:88945”]
Side note I was using codePush in it and the plugin is still in there. Could that be the conflict?

Maybe, I don’t know what exactly those two plugins are doing. It would make sense that they clash somehow, they are doing similar things. Try removing this one if you can.

Ok I think I got it running. I Removed both and it ran fine. When I added back in the deploy it did it again. So after a fair bit of debugging i found the conflict is actually with the zip plugin. Thank you for your help!

Oh yeah, Ionic Deploy is using that internally.
Did you have that installed as well? Which one exactly?

I did but uninstalled it, not sure which one it was exactly, I had not implemented it in the app yet, so it should be fine without it I hope.

1 Like

Interesting that these clash so directly, Ionic Deploy should probably try to check that somehow. If you want you can create a issue on github for it, but I don’t expect this to be very high priority.