“This app could not be installed at this time” CFBundleIdentifier error

前端 未结 4 2129
灰色年华
灰色年华 2020-12-22 04:02

I encountered the \"This app could not be installed at this time\" error. I have tried several methods such as reloading the simulator, deleting the app in the simulator and

相关标签:
4条回答
  • 2020-12-22 04:43

    I have faced same issue. After long research find below solution. Please follow it, I am sure it will work for you.

    Solution: 1

    Erase All content and settings.

    Clean your project

    Solution: 2

    Changing the CFBundleShortVersionString in InfoPlist.strings to match the one in info.plist fixed this for me. I had to use the simulator's "Erase All Content and Settings" after making this change.

    Solution: 3

    I deleted pods from project and installed it again and it surprisingly works fine.

    For remove pod file:

    pod deintegrate
    

    For install pod:

    pod install
    

    Then run again your project.

    0 讨论(0)
  • 2020-12-22 04:44

    XCode: 11.3.1 Cocoapods: 1.9.1

    None the previous solutions worked for me.

    This should be related to the pod info.plist file setting. You might want to select Pods directory in the navigation panel of XCode and then set the info list files for each pod framework.

    Image - Correctly placed identity of each pod framework

    If there's anything goes wrong with this, there will be a button to choose the info.plist file.

    Just click on that button and navigate to the bottom of the Pods directory from popup file dialog, and select your project’s pods-info.plist file. It will automatically assign the correct identity for that pods framework like you see in the above image. This will solve the problem.

    0 讨论(0)
  • 2020-12-22 04:45

    Make Target membership tic-mark

    Or Uninstall your pod file and reinstall pod file

    0 讨论(0)
  • 2020-12-22 04:52

    I also meet this problem. The reason why I meet this error is that I changed the bundle Id only the general of Menu of the project. You must also change it Test and UiTest too. After I change them, the problem is solved.

    0 讨论(0)
提交回复
热议问题