Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

normalize and update Xcode templates #306

Merged
merged 2 commits into from

2 participants

@pizthewiz

the Xcode project templates had varying default settings and in one case, would be called out as an issue prompting for update. the PR normalizes and updates the settings to be more consistent with each other and Apple's templates with a focus on the project language code, bundle identifier's reverse-DNS format, bundle versions, copyright year and application icon.

the Xcode project compatibility version was also bumped from 3.1 to 3.2 as Xcode 4.4 is already required for the branch and opening a 3.1 compatibility version project in Xcode 4.6 will call it out as an issue (misidentified as a warning in the commit message).

pizthewiz added some commits
@pizthewiz pizthewiz upgrade compatibility to 3.2 to avoid warning
the entire appRewrite branch requires 4.4 as it is, so there really isn't a backward compatibility issue to contend with. additionally new tinderbox-created projects opened in 4.6 (possibly earlier too) will display a warning to upgrade, might as well save the trouble directly from the source.
cf4c64d
@pizthewiz pizthewiz normalize and modernize template settings
standardize language code, bundle identifier reverse-DNS format, bundle versions, copyright year and application icon.
9e74214
@pizthewiz

one could also make the case for adding the typical DEBUG=1 macro for the Debug configuration, but i'm not certain yet that a similar macro doesn't exist within Cinder.

@andrewfb
Collaborator

I had changed the compatibility to 3.1 at a user's request (AppCode apparently requires it) but at the time didn't connect that XCode would start complaining. I think that's a rare enough use case (and one addressable by manually editing the App template) that we should restore 3.2. There's been discussion of using Apple's suggested DEBUG=1 macro, which I'll integrate shortly. Thanks for the changes.

@andrewfb andrewfb merged commit c401763 into cinder:appRewrite
@pizthewiz pizthewiz deleted the pizthewiz:xcode-templates branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 2, 2013
  1. @pizthewiz

    upgrade compatibility to 3.2 to avoid warning

    pizthewiz authored
    the entire appRewrite branch requires 4.4 as it is, so there really isn't a backward compatibility issue to contend with. additionally new tinderbox-created projects opened in 4.6 (possibly earlier too) will display a warning to upgrade, might as well save the trouble directly from the source.
  2. @pizthewiz

    normalize and modernize template settings

    pizthewiz authored
    standardize language code, bundle identifier reverse-DNS format, bundle versions, copyright year and application icon.
This page is out of date. Refresh to see the latest.
View
12 blocks/__AppTemplates/BasicApp/OpenGL/xcode/Info.plist
@@ -3,23 +3,29 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>CinderApp.icns</string>
<key>CFBundleIdentifier</key>
- <string>org.libcinder._TBOX_PREFIX_</string>
+ <string>org.libcinder.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>1</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>${MACOSX_DEPLOYMENT_TARGET}</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2013 __MyCompanyName__. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
View
4 blocks/__AppTemplates/BasicApp/OpenGL/xcode_ios/Info.plist
@@ -24,7 +24,7 @@
</dict>
</dict>
<key>CFBundleIdentifier</key>
- <string>dongle.${PRODUCT_NAME:rfc1034identifier}</string>
+ <string>org.libcinder.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -36,7 +36,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
View
6 blocks/__AppTemplates/CocoaView/OpenGL/xcode/Info.plist
@@ -7,9 +7,9 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
- <string></string>
+ <string>CinderApp.icns</string>
<key>CFBundleIdentifier</key>
- <string>libcinder.org.${PRODUCT_NAME:rfc1034identifier}</string>
+ <string>org.libcinder.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -25,7 +25,7 @@
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
- <string>Copyright © 2012 __MyCompanyName__. All rights reserved.</string>
+ <string>Copyright © 2013 __MyCompanyName__. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
View
6 blocks/__AppTemplates/ScreenSaver/OpenGL/xcode/Info.plist
@@ -5,13 +5,13 @@
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
- <string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
+ <string>org.libcinder.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
@@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>1</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>NSPrincipalClass</key>
View
2  blocks/__AppTemplates/__Foundation/xcode/project.pbxproj
@@ -159,7 +159,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "_TBOX_PREFIX_" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
View
2  blocks/__AppTemplates/__Foundation/xcode_ios/project.pbxproj
@@ -157,7 +157,7 @@
00692BC614FF149000D0A05E /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 00692BC914FF149000D0A05E /* Build configuration list for PBXProject "_TBOX_PREFIX_" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
Something went wrong with that request. Please try again.