Search Unity

MacOS not building after implementing Unity IAP

Discussion in 'Unity IAP' started by cyberzeek, Jun 11, 2020.

  1. cyberzeek

    cyberzeek

    Joined:
    May 17, 2019
    Posts:
    1
    Hi!

    I implemented UnityIAP in our project but during the build, I keep getting the following error. I am unable to make any builds after implementing Unity IAP. It is building fine for all other platforms.


    Unity versions: 2019.3.0f6
    UnityIAP version: 2.0.6

    Failed running /Applications/Unity/Hub/Editor/2019.3.0f6/Unity.app/Contents/il2cpp/build/deploy/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="MacOSX" --architecture="x64" --configuration="Release" --outputpath="/Users/cyberzeek/Desktop/Luminant/Foundation/Temp/StagingArea/Data/Native/GameAssembly.dylib" --cachedirectory="/Users/cyberzeek/Desktop/Luminant/Foundation/Assets/../Library/il2cpp_cache" --profiler-report --map-file-parser="/Applications/Unity/Hub/Editor/2019.3.0f6/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --directory="/Users/cyberzeek/Desktop/Luminant/Foundation/Temp/StagingArea/Data/Managed" --generatedcppdir="/Users/cyberzeek/Desktop/Luminant/Foundation/Temp/StagingArea/Data/il2cppOutput"

    stdout:
    Building GameAssembly.dylib with ClangToolChain
    Mac Dev SDK: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

    Output directory: /Users/cyberzeek/Desktop/Luminant/Foundation/Temp/StagingArea/Data/Native
    Cache directory: /Users/cyberzeek/Desktop/Luminant/Foundation/Library/il2cpp_cache
    ObjectFiles: 370 of which compiled: 0
    Total compilation time: 566 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /usr/bin/ld -o "/Users/cyberzeek/Desktop/Luminant/Foundation/Library/il2cpp_cache/linkresult_87F2764A4DE4C2163328C634FE02F5F9/GameAssembly.dylib" -dylib -arch x86_64 -macosx_version_min 10.9 -lSystem -lc++ -lpthread -map "/Users/cyberzeek/Desktop/Luminant/Foundation/Library/il2cpp_cache/linkresult_87F2764A4DE4C2163328C634FE02F5F9/GameAssembly.map" -dead_strip -liconv -framework Foundation -framework Security -framework CoreFoundation "/Users/cyberzeek/Desktop/Luminant/Foundation/Library/il2cpp_cache/BDB7BD3467EE464F74A668538F94EFD8.o" "/Users/cyberzeek/Desktop/Luminant/Foundation/Library/il2cpp_cache/98559772F45A85276A57A0156317540A.o"


    Any help would be appreciated,

    Thank you.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    It's a known issue that we are aware of. No ETA for a fix, hopefully in an upcoming release.
     
  3. ToddSlaughter

    ToddSlaughter

    Joined:
    Sep 19, 2018
    Posts:
    1
    Are there any good workarounds?
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446