iOS Development error Log

Source: Internet
Author: User

Error tip: Fatal Error:file '/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/ Sdks/iphonesimulator8.1.sdk/system/library/frameworks/uikit.framework/headers/uiwebview.h ' has been modified since The precompiled header '/users/rain/library/developer/xcode/deriveddata/modulecache/vau3zwn6t3kv/ UIKIT-2M4VYLEDI34V0.PCM ' was built

Note:please Rebuild precompiled Header '/users/rain/library/developer/xcode/deriveddata/modulecache/vau3zwn6t3kv/ UIKIT-2M4VYLEDI34V0.PCM '
1 Error generated.
Workaround: Remove the '/users/imac/library/developer/xcode/deriveddata/modulecache/1m29hznhw3i5b/' above tag UIKIT-2M4VYLEDI34V0.PCM file.
After deletion, it is possible to fatal error:could not build module ' UIKit ' Error prompt, by deleting/users/imac/library/developer/xcode/deriveddata/ Modulecache folder, recompile, run.
Note: the Library (library) under the imac is generally hidden, enter the terminal, enter the Chflags Nohidden ~/library/is OK.

Error Tip: Failed to instantiate the default view controller for Uimainstoryboardfile ' Main '-perhaps the designated entry point was not set?
Cause Analysis: No view controller in storyboard set the initial Scene.
Solution: In Storyboard, select a view Conroller as the first start-up interface for story board. If the navigation controller is the initial interface, then the navigation controller should be set as the initial boot interface, not the login interface.

error message: target specifies product type ' com. Apple.product-type.bundle.ui-testing ', but there ' s no such product type for the ' Iphonesimulator ' platform!
Solution: http://www.07net01.com/2015/09/930192.html

error Hint: ld:library not found for-lpods-afnetworking
clang:error:linker command failed with exit code 1 (use-v to see invocation)
Solution: The downloaded open source app uses the Cocoapods, to open with workspace instead of opening the Xcodeproj file directly.

error Hint: diff:/... /podfile.lock:no such file or directory
diff:/manifest.lock:no Such file or directory
The error:the Sandbox is a not -in-sync with the Podfile.lock. Run ' pod install ' or update your CocoaPods installation.
WORKAROUND: 1. Install the COCOAPODS;2. Import the project dependency framework with the pod Install command; 3. Open xcworkspace file (do not open with Xcproj file)
Installation dependent framework needs to be located in the directory where the project is located "cd/users/rain/documents/Open source/Open source App/greatreader-master" and execute "pod install" Command (This command will run the Podfile file contained in the project)

error Hint: Unable to add a source with URL ' https://github.com/CocoaPods/Specs.git ' named ' Master '
Workaround: sudo xcode-select-switch/applications/xcode.app/contents/developer, the following address can open the Xcode display package content, find the folder dragged into the terminal.

iOS Development error Log

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.