iOS Development--Error summary & common errors and warnings in development summary (31)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.