Sometimes we need to add other sub-projects in a main project, to write modifications to the sub-project, or to take advantage of the library files in the subproject, and so on, we need to use the project nesting. Step: (see picture to speak)1. Create a new main project, called TESTTTTT, to create a new static framewor
window, on a warning, we right-click, display the right-click menu, select the Reveal in LogIt will showNote that [-wshorten-64-to-32], in this parenthesis, is the type of this warning-W is the prefix, this prefix indicates the warning to open this type if we are to turn off some type of warning, we want to switch-W to-wno-This will get the-wno-shorten-64-to-32.Postscript:For third parties we introduce with cocoapod, we can add a sentence to the Podfile file inhibit_all_warnings! The
, check the show in Finder, and modify XCD4 to XCD5 in the popup finder.Back to the Xcode interface, XCD4 the following files into red, so check the XCD4 filegroup, modify his Name property in the inspector to XCD5, then click on a small folder image under Location, Select the folder that you just modified to XCD5 under Finder. The red text disappears.4. Modify the xcd4tests to xcd5tests in the same way. Select the xcd4tests.m file under the Xcd5tests
Unity3d export xcode project compilation error solution xcode6 U3DScreenToNGUIScreen, unity3dxcode
Add the following to the file CMVideoSampling. mm in XCode:# Include # Include Same as above, add the following in the file GlesHelper. mm:# Define GL_RGBA8_OES GL_RGBA8# Define glRenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisample# Define GL_DEPTH
Add Cordova to an existing Xcode project in iOS, cordovaxcode
The Cordova official website has detailed the steps for creating a PhoneGao project. I will not go into details here.
In actual project development, you may need to add Cordova to an existing project. This problem
use open Source Library xuporter, see https://onevcat.com/2012/12/xuporter/
1. Automatic change of certificate and description file
Change the certificate, set the certificate name to be visible in the keychain
project.overwritebuildsetting ("code_sign_identity", "xxxxxxxxxx");
The iphone Configuration Utility (the older Mac system prompts installation to fail, but is still available) to view the description file number in the format
of the following//description file is stored at: ~/library/
Cocos2dx 3.2 win32 project porting to xcode, cocos2dxxcode1. Create a project using the cocos commandOpen the terminal and enter the following command:Cocos new Beimendudu-pCom.cocos2dx.org-L cpp-d/Users/fujinliang/Documents/workspaceIi. Imported Project classes and resourcesDelete the files in the classes and Resource
Cocos2d-x 3.x build in Mac environment, create Xcode project, cocos2d-xxcode
Recently relatively idle .. Toss cocos2d-x 3. x series.
Although I have been out for a long time, I still have no time to study. Version 2.14 has been used before.
After cocos2d v3.x is released, it is a command line from configuration installation to project creation.
1. http://cn.coc
A few days ago go to an internet company to receive a project back. Then package compression, pass to the background management, upload to Git, and then receive a colleague from the Git address. Checkout code, COMMAND+B. What? SWhat ghost, 20 errors, is the project error, back to the background to manage a code, or the same ending.Then, of course, the thought of asking the mother. But how does this keyword
Download the latest version from the https://github.com/NetEase/libpomelo, decompress it, and go to the directory to compile the static library
./pomelo_gyp -DTO=ios./build_ios./build_iossim
Generate static libraries for ios devices (arm) and ios virtual machines (i386) respectively, and package the two libraries together with lipo:
lipo -create ./build/Default-iphoneos/libpomelo.a ./build/Default-iphonesimulator/libpomelo.a -output libpomelo.alipo -create ./deps/jansson/build/Default-iphoneo
Using commands in the terminalThe folder where the touch project residesSVN Import project folder https://server address-M "IPad import"This will upload the project to the server! However, you cannot upload. A files to the server.Upload. A file (static library), first enter the folder where the. A file is located, use the commandSVN add file name. AThen use the c
to create a projectEnter the specified folder. For example, my:cd/users/apple/desktop/colin/cocos2d-x/cocos2d-x-3.3/tools/cocos2d-console/bin/If the first two steps are followed, enter the CD Tools/cocos2d-console/bin directly. (because it is currently in the cocos2d-x-3.3 directory)You can then use the following command:Cocos new project name-P package name-L language-D destination folderFor example, my:./cocos new Helloworld-p com.history.helloworl
One, Cocos command to create a projectTo open the Terminal input command:Cocos New Beimendudu-p com.cocos2dx.org -L cpp-d/users/fujinliang/documents/workspaceIi. imported projects classes and resourcesDelete classes and Resources folder to file, imported project classes and resources copied into new projectRight-click ' Classes ' and select ' Add File to '. ”,Select "Resources" to operate as classes.Third, the operation of the projectBefore running, i
Use two main commandsXcodebuild: Package The Xcode project into an. App fileXcrun: Package the app as an. IPA fileThe following is a well-written ant script:1 XML version= "1.0" encoding= "UTF-8"?> 2 Projectdefault= "Release"name= "Packageforios"Basedir=".">3 Propertyname= "Xcodeprojectpath"value= "/users/xxx/documents/ios"/>4 Propertyname= "AppPath"value= "${xcodeprojectpath}/build/xxx.app"/>5
; outline:0px; Vertical-align:baseline; " >
Look at the effectIf you're as nslocalizedstring as I am, you can replace it with a regular comment.
find nslocalizedstring\ (@ "[^\]]*?") \s*,\s*@ "[^\]]*" \s*\)
Shimen the main contribution, respect the work of the author, please do not reprint.If the article is helpful to you, you are welcome to donate to the author, support the Shimen, donate the amount at random, ^_^I want to donate: Click DonateCocos
Cause, install the certificate error, cause the certificate cannot be matched,Scenario: Remove the original certificate, reinstallOpen Terminal1. CD library/2. CD mobiledevice/3. Open provisioning\ profiles/The bundle ID of each project will have a corresponding provisioning_profile (project.pbxproj file), which corresponds to the name of the certificate in PROVISIONING Profiles folder. One by one. Find DeleteAlso reported certificate error when the
Say no more, the method is as follows:
First, open the terminal, with the CD command to locate the project in the directory, and then call the following name can be the number of each source code file lines and the total count out:
Find. "("-name "*.m"-or-name "*.mm"-or-name "*.cpp"-or-name "*.h"-or-name "*.rss" ")"-print | Xargs wc-l
where-name "*.M" represents a file with an. m extension.
Two, at the same time to count the Java file and XM
In the process of doing the project, sometimes the SVN password of the project will be replaced. If you are using tortoise to manage SVN on Windows, just update it and enter the username password.
If you are using Xcode to manage the project directly on Mac OS then how to operate it. In fact, solve the problem on the
) controller for displaying information.Tool Application (utility application)Applications that are suitable for widget types, which have a main view, and you can "flip" them, just like widgets in a leopard system. You may also be familiar with micro-widgets from Konfabulator (third-party tools, the predecessor of Apple's dashboard). The iphone weather and stock programs are the best examples of these tool applications. The template also includes an informational button that flips the view to sh
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.