Summary of common errors and warnings in development (31)
Recently opened Xcode compiled, run the development of the program, although all success, but there is always a warning:
Target Specifies product type ' com.apple.product-type.bundle.unit-test ',
But there's no such product type for the ' Iphoneos ' platform
This is due to the previous run of the Xcode7 beta version of the procedure, which is now caused by the use of XCODE5 running the program.
Workaround:
- 1. Navigate to your program's folder
- 2. Check the suffix is Xcodeprog file, right-click, display package Contents
- 3. Find the suffix is pbxproj file, right-click, open.
- 4. Search all com.apple.product-type.bundle.ocunit-test, and use
- Com.apple.product-type.bundle replace it.
- 5. Save and run the program again warning disappears.
Summary:
This problem may occur when you use XCODE5 again after you use the Xcode beta opener. Now use Xcode6 directly,
Do not use the beta version of Xcode again.
iOS Development--Error summary & common errors and warnings in development summary (31)