I imported a new version of the framework into my SDK. Anyway, I can’t build on iPhone 6 running iOS 9.0.1 due to the following error, which drives me crazy:
duplicate symbol _IPDJobStatus in:
/Users/akiki/Desktop/iOS 9 Test/MPSDK/iPD.framework/iPD(IPDDevice.o)
/Users/akiki/Desktop/iOS 9 Test/MPSDK/iPD.framework/iPD(IPDAdministration.o)
ld: 5 duplicate symbols for architecture arm7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This happens when the same character _IPDJobStatusis found twice in 5 files. The same thing happens on iPhone 4S with iOS 9.1 with arm64 architecture. In order to import the framework, I deleted the old project from the project, imported a new one and checked in the section “Linking binary files to the library” the links to the framework links with the correct updated file. Before the request, I tried to do the following:
- I was looking for a duplicate character inside the project area with no result.
- I do not import the file by
.maccident. - Compile Sources project options for build projects do not include a duplicate file.
- Links to frame headers in the settings headers of the Construction Phases project link to the corresponding files.
- I tried to clear the project, free the Derived Data folder, exit and restart Xcode.
- I added the linker flag
-ObjC(in this case, repeated characters go from five to one). - I switched the No Common Blocks compiler option to NO, although it has the same error with or without it.
- I created a new empty project and imported it. In this case, I was able to build, so the problem should be in my SDK.
Can someone please help me?
source
share