Forum Cross Platform with Xamarin

Getting Error for Native linking failed or Error while build ios project in appstore config

QXSSQXSS Member

Hello,

i am trying to generate IPA file it fail with below error
'error : linker command failed with exit code 1 (use -v to see invocation)'

please check attached log file and below details
help to fix this issue

=== Visual Studio Community 2019 for Mac ===

Version 8.4.7 (build 17)
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.16.1.25 (issue-7441-d16-3-vsmac / 881172e73)

Package version: 606000166

=== Mono Framework MDK ===

Runtime:
Mono 6.6.0.166 (2019-08/d9001b5ae70) (64-bit)
Package version: 606000166
=== Apple Developer Tools ===

Xcode 11.3.1 (15715)
Build 11C504

=== Xamarin.Mac ===

Version: 6.10.0.21 (Visual Studio Community)
Hash: 02c4b3bdc
Branch: xcode11.3
Build date: 2020-02-18 14:13:31-0500

=== Xamarin.iOS ===

Version: 13.10.0.21 (Visual Studio Community)
Hash: 02c4b3bdc
Branch: xcode11.3
Build date: 2020-02-18 14:13:32-0500

Best Answer

  • QXSSQXSS
    edited March 3 Accepted Answer

    @LandLu thanks for you response,
    i tried that as well but it's also same failing all the time.

    After so many R & D able to resolve linker issue
    i added some nuget packages below

    • xamarin.build.download(0.4.11) - Added in All projects
    • Xamarin.Google.ios.Maps (3.5.0) - Added in iOS project only
    • Xamarin.forms.GoogleMap (3.3.0) - reinstalled in all projects

    And changed deployment target platform from 8.0 to 9.0

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    It seems this is a linking issue.
    Have you changed the Linker Behavior when the platform has been switched to iPhone:

    Try to use Don't Linker to see whether this issue persists.

  • QXSSQXSS Member
    edited March 3 Accepted Answer

    @LandLu thanks for you response,
    i tried that as well but it's also same failing all the time.

    After so many R & D able to resolve linker issue
    i added some nuget packages below

    • xamarin.build.download(0.4.11) - Added in All projects
    • Xamarin.Google.ios.Maps (3.5.0) - Added in iOS project only
    • Xamarin.forms.GoogleMap (3.3.0) - reinstalled in all projects

    And changed deployment target platform from 8.0 to 9.0

Sign In or Register to comment.