xcodexcode9.2xcode9.3

"Failed to load Project , incompatible project version" pop up appears when I open from code of xcode 9.3 in xcode 9.2


I created a project in Xcode 9.3, and When I open the same project in Xcode 9.2, it shows "incompatible project version". - I changed deployment target version

It asked to sign in with the team to run the project in Xcode 9.3. Without signing in, it shows error and does not get deployed.


Solution

  • If you can open the Project

    You can simply change your Project Format (like the image)

    Click to your Project File in xcode and change it

    enter image description here

    If you can't open the project (projectName.xcodeproj) normally

    Control-click on the project file, select Show Package Contents, and then open your project.pbxproj file and make the change for:

    compatibilityVersion
    objectVersion
    

    For Xcode 10.0

    compatibilityVersion: "Xcode 10.0"
    objectVersion :51
    

    For Xcode 9.3:

    compatibilityVersion: "Xcode 9.3"
    objectVersion :50
    

    For Xcode 8.0-9.2:

    compatibilityVersion: "Xcode 8.0"
    objectVersion: 48
    

    You can find the project.pbxproj file by right clicking the .xcodeproj file in the project folder, then select Show Package Contents