Clang error in Unity Integrated Native application












0















I tried lot of libraries to build unity in native app. Most of them are outdated. Here I tried tutorial in youtube (https://www.youtube.com/watch?v=D7YxPf6a32g) but having clang error. Couldn't fix..



Ld /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative normal arm64 (in target: UnityNative)
cd /Users/riverswave4apple/Desktop/UnityNative
export IPHONEOS_DEPLOYMENT_TARGET=12.1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild/Libraries -F/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -filelist /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=12.1 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -weak_framework iAd -liconv.2 -framework UIKit -framework SystemConfiguration -framework QuartzCore -framework OpenGLES -framework OpenAL -framework MediaPlayer -framework Foundation -framework CoreVideo -framework CoreMotion -framework CoreMedia -framework CoreGraphics -framework CoreLocation -framework CFNetwork -framework AVFoundation -framework AudioToolbox -framework CoreText -weak-liPhone-lib -lil2cpp -Xlinker -dependency_info -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_dependency_info.dat -o /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative

Undefined symbols for architecture arm64:
"_MTAudioProcessingTapGetSourceAudio", referenced from:
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapCreate", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapGetStorage", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::PrepareAudioTap(opaqueMTAudioProcessingTap const*, long, AudioStreamBasicDescription const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::FinalizeAudioTap(opaqueMTAudioProcessingTap const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
-[AVFoundationMediaLoader StopOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question

























  • Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

    – Everts
    Dec 19 '18 at 12:09
















0















I tried lot of libraries to build unity in native app. Most of them are outdated. Here I tried tutorial in youtube (https://www.youtube.com/watch?v=D7YxPf6a32g) but having clang error. Couldn't fix..



Ld /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative normal arm64 (in target: UnityNative)
cd /Users/riverswave4apple/Desktop/UnityNative
export IPHONEOS_DEPLOYMENT_TARGET=12.1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild/Libraries -F/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -filelist /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=12.1 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -weak_framework iAd -liconv.2 -framework UIKit -framework SystemConfiguration -framework QuartzCore -framework OpenGLES -framework OpenAL -framework MediaPlayer -framework Foundation -framework CoreVideo -framework CoreMotion -framework CoreMedia -framework CoreGraphics -framework CoreLocation -framework CFNetwork -framework AVFoundation -framework AudioToolbox -framework CoreText -weak-liPhone-lib -lil2cpp -Xlinker -dependency_info -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_dependency_info.dat -o /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative

Undefined symbols for architecture arm64:
"_MTAudioProcessingTapGetSourceAudio", referenced from:
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapCreate", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapGetStorage", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::PrepareAudioTap(opaqueMTAudioProcessingTap const*, long, AudioStreamBasicDescription const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::FinalizeAudioTap(opaqueMTAudioProcessingTap const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
-[AVFoundationMediaLoader StopOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question

























  • Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

    – Everts
    Dec 19 '18 at 12:09














0












0








0








I tried lot of libraries to build unity in native app. Most of them are outdated. Here I tried tutorial in youtube (https://www.youtube.com/watch?v=D7YxPf6a32g) but having clang error. Couldn't fix..



Ld /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative normal arm64 (in target: UnityNative)
cd /Users/riverswave4apple/Desktop/UnityNative
export IPHONEOS_DEPLOYMENT_TARGET=12.1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild/Libraries -F/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -filelist /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=12.1 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -weak_framework iAd -liconv.2 -framework UIKit -framework SystemConfiguration -framework QuartzCore -framework OpenGLES -framework OpenAL -framework MediaPlayer -framework Foundation -framework CoreVideo -framework CoreMotion -framework CoreMedia -framework CoreGraphics -framework CoreLocation -framework CFNetwork -framework AVFoundation -framework AudioToolbox -framework CoreText -weak-liPhone-lib -lil2cpp -Xlinker -dependency_info -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_dependency_info.dat -o /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative

Undefined symbols for architecture arm64:
"_MTAudioProcessingTapGetSourceAudio", referenced from:
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapCreate", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapGetStorage", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::PrepareAudioTap(opaqueMTAudioProcessingTap const*, long, AudioStreamBasicDescription const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::FinalizeAudioTap(opaqueMTAudioProcessingTap const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
-[AVFoundationMediaLoader StopOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question
















I tried lot of libraries to build unity in native app. Most of them are outdated. Here I tried tutorial in youtube (https://www.youtube.com/watch?v=D7YxPf6a32g) but having clang error. Couldn't fix..



Ld /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative normal arm64 (in target: UnityNative)
cd /Users/riverswave4apple/Desktop/UnityNative
export IPHONEOS_DEPLOYMENT_TARGET=12.1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild -L/Users/riverswave4apple/Desktop/UnityNative/../CubeTestBuild/Libraries -F/Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos -filelist /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=12.1 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -weak_framework iAd -liconv.2 -framework UIKit -framework SystemConfiguration -framework QuartzCore -framework OpenGLES -framework OpenAL -framework MediaPlayer -framework Foundation -framework CoreVideo -framework CoreMotion -framework CoreMedia -framework CoreGraphics -framework CoreLocation -framework CFNetwork -framework AVFoundation -framework AudioToolbox -framework CoreText -weak-liPhone-lib -lil2cpp -Xlinker -dependency_info -Xlinker /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Intermediates.noindex/UnityNative.build/Debug-iphoneos/UnityNative.build/Objects-normal/arm64/UnityNative_dependency_info.dat -o /Users/riverswave4apple/Library/Developer/Xcode/DerivedData/UnityNative-dtzfqcybbuktpadpmmqrlhoorkgi/Build/Products/Debug-iphoneos/UnityNative.app/UnityNative

Undefined symbols for architecture arm64:
"_MTAudioProcessingTapGetSourceAudio", referenced from:
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapCreate", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
"_MTAudioProcessingTapGetStorage", referenced from:
-[AVFoundationMediaLoader ConfigureAudioOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::PrepareAudioTap(opaqueMTAudioProcessingTap const*, long, AudioStreamBasicDescription const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::ProcessAudioTap(opaqueMTAudioProcessingTap const*, long, unsigned int, AudioBufferList*, long*, unsigned int*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
AVFoundationVideoPlayback::PlayerPriv::FinalizeAudioTap(opaqueMTAudioProcessingTap const*) in libiPhone-lib.a(AVFoundationVideoPlayback.o)
-[AVFoundationMediaLoader StopOutput] in libiPhone-lib.a(AVFoundationVideoPlayback.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)






ios unity3d






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 19 '18 at 15:35









rmaddy

246k27327390




246k27327390










asked Dec 19 '18 at 12:02







user10678228




















  • Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

    – Everts
    Dec 19 '18 at 12:09



















  • Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

    – Everts
    Dec 19 '18 at 12:09

















Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

– Everts
Dec 19 '18 at 12:09





Could be that your plugin is meant only for arm7. You could try to set it to only build that architecture.

– Everts
Dec 19 '18 at 12:09












1 Answer
1






active

oldest

votes


















0














In Linked Frameworks and Libraries, make the status of AVFoundation.framework as optional. Add Metal (optional), Security(req.) and MediaToolbox(req.) frameworks to it.



In Build Settings,



-Double check all header files and Prefix header path are correct.


-ENABLE_STRICT_OBJC_MSGSEND = NO

- Other Linker Flags add this line. -Wl,-undefined,dynamic_lookup

- Mismatched Return type = YES

- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS- YES


Stop the application clean build it.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53850825%2fclang-error-in-unity-integrated-native-application%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In Linked Frameworks and Libraries, make the status of AVFoundation.framework as optional. Add Metal (optional), Security(req.) and MediaToolbox(req.) frameworks to it.



    In Build Settings,



    -Double check all header files and Prefix header path are correct.


    -ENABLE_STRICT_OBJC_MSGSEND = NO

    - Other Linker Flags add this line. -Wl,-undefined,dynamic_lookup

    - Mismatched Return type = YES

    - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS- YES


    Stop the application clean build it.






    share|improve this answer




























      0














      In Linked Frameworks and Libraries, make the status of AVFoundation.framework as optional. Add Metal (optional), Security(req.) and MediaToolbox(req.) frameworks to it.



      In Build Settings,



      -Double check all header files and Prefix header path are correct.


      -ENABLE_STRICT_OBJC_MSGSEND = NO

      - Other Linker Flags add this line. -Wl,-undefined,dynamic_lookup

      - Mismatched Return type = YES

      - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS- YES


      Stop the application clean build it.






      share|improve this answer


























        0












        0








        0







        In Linked Frameworks and Libraries, make the status of AVFoundation.framework as optional. Add Metal (optional), Security(req.) and MediaToolbox(req.) frameworks to it.



        In Build Settings,



        -Double check all header files and Prefix header path are correct.


        -ENABLE_STRICT_OBJC_MSGSEND = NO

        - Other Linker Flags add this line. -Wl,-undefined,dynamic_lookup

        - Mismatched Return type = YES

        - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS- YES


        Stop the application clean build it.






        share|improve this answer













        In Linked Frameworks and Libraries, make the status of AVFoundation.framework as optional. Add Metal (optional), Security(req.) and MediaToolbox(req.) frameworks to it.



        In Build Settings,



        -Double check all header files and Prefix header path are correct.


        -ENABLE_STRICT_OBJC_MSGSEND = NO

        - Other Linker Flags add this line. -Wl,-undefined,dynamic_lookup

        - Mismatched Return type = YES

        - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS- YES


        Stop the application clean build it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 3 at 15:36









        AleeshaAleesha

        459




        459
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53850825%2fclang-error-in-unity-integrated-native-application%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas