Could not inspect the application package; works when embedding frameworks, breaks when using cocoapods












0















Recently been given a private 3rd party framework to integrate into an existing objective-c iOS project.



The current problem I have is that by simply embedding the framework into the existing app, everything works as expected. As soon as I try to integrate it using cocoapods, it builds fine but will not install into a connected device.



It gives the error




Could not inspect the application package.




From my internet research so far I have found a few answers but none of those works for my situation.




  • I've tried to make sure only latin characters are in the app name

  • tried the project with and without a folder named resources

  • tinkered around with signing certs

  • cleaned build folder and derived data folder

  • I don't have info.plist copied in the bundle resources


I've also looked into the device console logs to try to figure out why it would not install. I've tried searching for this but did not come up with anything.



Applications did fail to install: (
"<LSApplicationProxy: 0x101636660> com.myapp (null) <com.myapp <INVALID >:0>"
) (appInfos: (null))


What I can think of that I can't seem to find out about how writing the podspec file for this private pod.



This podspec build fine so I'm thinking it ought to run ok as well.



Pod::Spec.new do |s|

s.name = "3rd Party"
s.version = "2.3.0.31"
s.summary = "summary"
s.homepage = "3rdparty"
s.license = {:type => "Commercial", :text =>"Copyright (c) 2018 3rd party. All rights reserved"}
s.author = "3rd party"
s.source = { :git => "repo" }
s.platform = :ios, '8.0'
s.requires_arc = true
s.source_files = "3rd-party/2.3.0.31/*.framework/Headers/*.h"
s.vendored_frameworks = "3rd-party/2.3.0.31/**.framework"
s.frameworks = "CoreData", "CoreMotion", "CoreTelephony", "LocalAuthentication", "Accelerate", "AvFoundation", "CoreLocation", "CoreMedia"
end


Any help would be appreciated.



Thank you in advance.










share|improve this question





























    0















    Recently been given a private 3rd party framework to integrate into an existing objective-c iOS project.



    The current problem I have is that by simply embedding the framework into the existing app, everything works as expected. As soon as I try to integrate it using cocoapods, it builds fine but will not install into a connected device.



    It gives the error




    Could not inspect the application package.




    From my internet research so far I have found a few answers but none of those works for my situation.




    • I've tried to make sure only latin characters are in the app name

    • tried the project with and without a folder named resources

    • tinkered around with signing certs

    • cleaned build folder and derived data folder

    • I don't have info.plist copied in the bundle resources


    I've also looked into the device console logs to try to figure out why it would not install. I've tried searching for this but did not come up with anything.



    Applications did fail to install: (
    "<LSApplicationProxy: 0x101636660> com.myapp (null) <com.myapp <INVALID >:0>"
    ) (appInfos: (null))


    What I can think of that I can't seem to find out about how writing the podspec file for this private pod.



    This podspec build fine so I'm thinking it ought to run ok as well.



    Pod::Spec.new do |s|

    s.name = "3rd Party"
    s.version = "2.3.0.31"
    s.summary = "summary"
    s.homepage = "3rdparty"
    s.license = {:type => "Commercial", :text =>"Copyright (c) 2018 3rd party. All rights reserved"}
    s.author = "3rd party"
    s.source = { :git => "repo" }
    s.platform = :ios, '8.0'
    s.requires_arc = true
    s.source_files = "3rd-party/2.3.0.31/*.framework/Headers/*.h"
    s.vendored_frameworks = "3rd-party/2.3.0.31/**.framework"
    s.frameworks = "CoreData", "CoreMotion", "CoreTelephony", "LocalAuthentication", "Accelerate", "AvFoundation", "CoreLocation", "CoreMedia"
    end


    Any help would be appreciated.



    Thank you in advance.










    share|improve this question



























      0












      0








      0








      Recently been given a private 3rd party framework to integrate into an existing objective-c iOS project.



      The current problem I have is that by simply embedding the framework into the existing app, everything works as expected. As soon as I try to integrate it using cocoapods, it builds fine but will not install into a connected device.



      It gives the error




      Could not inspect the application package.




      From my internet research so far I have found a few answers but none of those works for my situation.




      • I've tried to make sure only latin characters are in the app name

      • tried the project with and without a folder named resources

      • tinkered around with signing certs

      • cleaned build folder and derived data folder

      • I don't have info.plist copied in the bundle resources


      I've also looked into the device console logs to try to figure out why it would not install. I've tried searching for this but did not come up with anything.



      Applications did fail to install: (
      "<LSApplicationProxy: 0x101636660> com.myapp (null) <com.myapp <INVALID >:0>"
      ) (appInfos: (null))


      What I can think of that I can't seem to find out about how writing the podspec file for this private pod.



      This podspec build fine so I'm thinking it ought to run ok as well.



      Pod::Spec.new do |s|

      s.name = "3rd Party"
      s.version = "2.3.0.31"
      s.summary = "summary"
      s.homepage = "3rdparty"
      s.license = {:type => "Commercial", :text =>"Copyright (c) 2018 3rd party. All rights reserved"}
      s.author = "3rd party"
      s.source = { :git => "repo" }
      s.platform = :ios, '8.0'
      s.requires_arc = true
      s.source_files = "3rd-party/2.3.0.31/*.framework/Headers/*.h"
      s.vendored_frameworks = "3rd-party/2.3.0.31/**.framework"
      s.frameworks = "CoreData", "CoreMotion", "CoreTelephony", "LocalAuthentication", "Accelerate", "AvFoundation", "CoreLocation", "CoreMedia"
      end


      Any help would be appreciated.



      Thank you in advance.










      share|improve this question
















      Recently been given a private 3rd party framework to integrate into an existing objective-c iOS project.



      The current problem I have is that by simply embedding the framework into the existing app, everything works as expected. As soon as I try to integrate it using cocoapods, it builds fine but will not install into a connected device.



      It gives the error




      Could not inspect the application package.




      From my internet research so far I have found a few answers but none of those works for my situation.




      • I've tried to make sure only latin characters are in the app name

      • tried the project with and without a folder named resources

      • tinkered around with signing certs

      • cleaned build folder and derived data folder

      • I don't have info.plist copied in the bundle resources


      I've also looked into the device console logs to try to figure out why it would not install. I've tried searching for this but did not come up with anything.



      Applications did fail to install: (
      "<LSApplicationProxy: 0x101636660> com.myapp (null) <com.myapp <INVALID >:0>"
      ) (appInfos: (null))


      What I can think of that I can't seem to find out about how writing the podspec file for this private pod.



      This podspec build fine so I'm thinking it ought to run ok as well.



      Pod::Spec.new do |s|

      s.name = "3rd Party"
      s.version = "2.3.0.31"
      s.summary = "summary"
      s.homepage = "3rdparty"
      s.license = {:type => "Commercial", :text =>"Copyright (c) 2018 3rd party. All rights reserved"}
      s.author = "3rd party"
      s.source = { :git => "repo" }
      s.platform = :ios, '8.0'
      s.requires_arc = true
      s.source_files = "3rd-party/2.3.0.31/*.framework/Headers/*.h"
      s.vendored_frameworks = "3rd-party/2.3.0.31/**.framework"
      s.frameworks = "CoreData", "CoreMotion", "CoreTelephony", "LocalAuthentication", "Accelerate", "AvFoundation", "CoreLocation", "CoreMedia"
      end


      Any help would be appreciated.



      Thank you in advance.







      ios xcode frameworks cocoapods






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 19:39







      keyboardr

















      asked Nov 15 '18 at 18:27









      keyboardrkeyboardr

      113




      113
























          0






          active

          oldest

          votes











          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%2f53325774%2fcould-not-inspect-the-application-package-works-when-embedding-frameworks-brea%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f53325774%2fcould-not-inspect-the-application-package-works-when-embedding-frameworks-brea%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

          Bressuire

          Vorschmack

          Quarantine