iOS Project Update Xcode 4.2 to Xcode 4.5

后端 未结 6 959
迷失自我
迷失自我 2021-01-12 07:28

\"enter

In my Project I have done 90% development using XCode 4.2 (was only need to su

相关标签:
6条回答
  • 2021-01-12 07:41

    Mangesh, Since you are updating the project to iOS 6, it is normal that your frameworks go missing some times. In order to add them, please go to build phases and then open the tab Link with binaries and add both the missing files as shows in the screen below.

    enter image description here

    It should help you add the libraries and you are ready to build it. If you are still facing problems, you can also add the Framework search paths (This will be your local path for the frameworks) for the project under the Build settings. And also please make sure that the framework paths are recursive.

    0 讨论(0)
  • 2021-01-12 07:43

    sqlite 3 and MobileCoreServices are available with ios 6.

    • Remove red references
    • Go in Targets properties -> Build Phases, section Link Binary With Libraries
    • Click on Add button and add libsqlite3.dylib & MobileCoreServices.framework.

      If libsqlite3.dylib is not available in the list. Open your xcodeproj with a text editor then search and destroy hidden references to libsqlite3. And try again.

    • Xcode screenshot, Link Binary With Libraries screenshot

    Vivien

    0 讨论(0)
  • 2021-01-12 07:44

    Try deleting this framework.. add it once again from sdk 6.0 (target -> build phase)

    0 讨论(0)
  • 2021-01-12 07:50

    There are uncertainties for the exact reason behind this but your problem can be solved by any of the cases provided below.

    Case 1 :

    It may be due to any missing library like libsqlite3.dylib and libsqlite3.0.dylib or MobileCoreServices, so copy these files from any other computer and place these files in your computer.

    Procedure:

    1:Open xcode on the computer where these files exists, add libsqlite3.0.dylib in your project from link binary with libraries. 2: Right click on the libsqlite3.0.dylib and show in finder (same for MobileCoreServices). 3: Copy two files libsqlite3.0.dylib and libsqlite3.dylib and place on the same location on other computer where these files are missing.

    Here you go, The problem may be solved in this way.

    Case 2: Reinstall XCode again it may work properly

    Case 3: Check this answer

    Hope it helps you.

    0 讨论(0)
  • 2021-01-12 07:53

    When click on your project in the project explorer, for each target, select that target. Then in the build phase, in the link with binary libraries, check your framework links.

    If you have simple problem, you can remove and add the libraries again.

    If the library is not built for arm7s, then goto target's archtecture, in the valid architectures, set it armv7 only. See if this remove the problem. if it is, then the frameworks needs to be build for armv7s.

    0 讨论(0)
  • 2021-01-12 08:02

    In your .pch file, add the following

    #import <SystemConfiguration/SystemConfiguration.h>
    #import <MobileCoreServices/MobileCoreServices.h>
    
    0 讨论(0)
提交回复
热议问题