dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 129 forks source link

Can not build for iOS #217

Closed xyboox closed 5 years ago

xyboox commented 5 years ago

I'm submitting a ... (check one with "x"):

Bug report

Current behavior:

Error on cordova build ios: duplicate symbol _LNEmptyCoord in: /Users/xxxxxx/Library/Developer/Xcode/DerivedData/ProjName-arfcoawdbkmcnjdnmyhvczuakgpn/Build/Intermediates.noindex/ArchiveIntermediates/ProjName/IntermediateBuildFilesPath/ProjName.build/Debug-iphoneos/ProjName.build/Objects-normal/arm64/LaunchNavigatorPlugin.o /Users/xxxxxx/Library/Developer/Xcode/DerivedData/ProjName-arfcoawdbkmcnjdnmyhvczuakgpn/Build/Intermediates.noindex/ArchiveIntermediates/ProjName/IntermediateBuildFilesPath/ProjName.build/Debug-iphoneos/ProjName.build/Objects-normal/arm64/LN_LaunchNavigator.o ld: 1 duplicate symbol for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've tried with a blank new Ionic ( v3 ) project and only added this plugin. Same behaviour: can not build ios with same error as above.

Environment information

Runtime issue

iOS build issue:

If using an [Ionic Native Typescript wrapper]() for this plugin:

dpa99c commented 5 years ago

This is an incompatibility with the newly released cordova-ios@5 - it builds successfully with cordova-ios@4, but will need investigating/fixing for @5

dpa99c commented 5 years ago

Fix published to npm in v5.0.4

xyboox commented 5 years ago

Thanks, seems to be working! Great work!

Ciprian D.

From: Dave Alden notifications@github.com notifications@github.com Reply: dpa99c/phonegap-launch-navigator reply@reply.github.com reply@reply.github.com Date: 11 February 2019 at 23:18:59 To: dpa99c/phonegap-launch-navigator phonegap-launch-navigator@noreply.github.com phonegap-launch-navigator@noreply.github.com Cc: Ciprian Dragoste xyboox@gmail.com xyboox@gmail.com, Author author@noreply.github.com author@noreply.github.com Subject: Re: [dpa99c/phonegap-launch-navigator] Can not build for iOS (#217)

Fix published to npm in v5.0.4

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpa99c/phonegap-launch-navigator/issues/217#issuecomment-462498343, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnOGHvxs_muEt9C1dz3eBm958ILF0Dkks5vMd5CgaJpZM4a06-A .