Skip to content

Commit

Permalink
Updated bin/create template to use sub-project based Xcode project te…
Browse files Browse the repository at this point in the history
…mplate.
  • Loading branch information
shazron committed Jul 12, 2012
1 parent b5d54c7 commit ec2d51d
Show file tree
Hide file tree
Showing 17 changed files with 448 additions and 356 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
<?xml version="1.0" encoding="UTF-8"?>
<!--
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand All @@ -17,6 +18,11 @@
# specific language governing permissions and limitations
# under the License.
#
*/
/* Localized versions of Info.plist keys */

-->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>This template provides a starting point for a Cordova based application. Just modify the www folder contents with your HTML, CSS and Javascript.</string>
</dict>
</plist>
698 changes: 377 additions & 321 deletions bin/templates/project/__TESTING__.xcodeproj/project.pbxproj
100644 → 100755

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions bin/templates/project/__TESTING__/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.mode1v3
*.perspectivev3
*.pbxuser
.DS_Store
build
www/phonegap.js
4 changes: 2 additions & 2 deletions bin/templates/project/__TESTING__/Classes/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// AppDelegate.h
// __TESTING__
//
// Created by Shazron Abdullah on 12-06-20.
// Copyright __MyCompanyName__ 2012. All rights reserved.
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
4 changes: 2 additions & 2 deletions bin/templates/project/__TESTING__/Classes/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Licensed to the Apache Software Foundation (ASF) under one
// AppDelegate.m
// __TESTING__
//
// Created by Shazron Abdullah on 12-06-20.
// Copyright __MyCompanyName__ 2012. All rights reserved.
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//

#import "AppDelegate.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// MainViewController.h
// __TESTING__
//
// Created by Shazron Abdullah on 12-06-20.
// Copyright __MyCompanyName__ 2012. All rights reserved.
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//

#ifdef CORDOVA_FRAMEWORK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Licensed to the Apache Software Foundation (ASF) under one
// MainViewController.h
// __TESTING__
//
// Created by Shazron Abdullah on 12-06-20.
// Copyright __MyCompanyName__ 2012. All rights reserved.
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//

#import "MainViewController.h"
Expand Down
26 changes: 26 additions & 0 deletions bin/templates/project/__TESTING__/CordovaBuildSettings.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//

// Cordova.xcconfig
// __TESTING__
//

// Override this to use your project specific CORDOVALIB.
// You can base it off the current project path, $(PROJECT_DIR)
CORDOVALIB = $(CORDOVALIB)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion bin/templates/project/__TESTING__/__TESTING__-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<key>CFBundleIconFile</key>
<string>icon.png</string>
<key>CFBundleIdentifier</key>
<string>--ID--.__TESTING__</string>
<string>--ID--</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
38 changes: 18 additions & 20 deletions bin/templates/project/__TESTING__/__TESTING__-Prefix.pch
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
/*
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
*/

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
//
// Prefix header for all source files of the '__TESTING__' target in the '__TESTING__' project
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
4 changes: 2 additions & 2 deletions bin/templates/project/__TESTING__/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Licensed to the Apache Software Foundation (ASF) under one
// main.m
// __TESTING__
//
// Created by Shazron Abdullah on 12-06-20.
// Copyright __MyCompanyName__ 2012. All rights reserved.
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down

0 comments on commit ec2d51d

Please sign in to comment.