swiftxcodeframeworksgtmsessionfetcher

Error dyld: Library not loaded: @rpath/GTMSessionFetcher.framework/GTMSessionFetcher - Code signing error


I am having this error with GTMSessionFetcher I'm not sure what it means. Could it be a could signing error?

    dyld: Library not loaded: @rpath/GTMSessionFetcher.framework/GTMSessionFetcher
          Referenced from: /var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Studioso
          Reason: no suitable image found.  Did find:
            /private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signing blocked mmap() of '/private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
            /private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signing blocked mmap() of '/private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
            /private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signing blocked mmap() of '/private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
            /private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signing blocked mmap() of '/private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
            /private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signing blocked mmap() of '/private/var/containers/Bundle/Application/E62297DC-9AD6-49C8-8821-5F9BF265B7CF/Studioso.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
        Message from debugger: Terminated due to signal 6

Solution

  • I have been facing the same problem... It got fixed by adding:

    In you podfile:

    use_modular_headers!

    instead of

    use_frameworks!

    Good luck! I hope this works for you!