Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Configured project with a shared prefix
Browse files Browse the repository at this point in the history
Following in the steps of 's example the app was set up to use a shared application prefix to easily change to be used with any developer id (entitlements, etc).
  • Loading branch information
esttorhe committed Aug 19, 2015
1 parent 4370ee7 commit 00e11bc
Show file tree
Hide file tree
Showing 9 changed files with 467 additions and 6 deletions.
10 changes: 10 additions & 0 deletions NaughtyKeyboard/NaughtyKeyboard.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.es.estebantorr.NaughtyStrings.Data</string>
</array>
</dict>
</plist>
2 changes: 2 additions & 0 deletions NaughtyKeyboard/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AAPLNaughtyStringsBundlePrefix</key>
<string>${NAUGHTYSTRINGS_BUNDLE_PREFIX}</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
Expand Down
341 changes: 335 additions & 6 deletions NaughtyStrings.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions NaughtyStrings/NaughtyStrings.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.es.estebantorr.NaughtyStrings.Data</string>
</array>
</dict>
</plist>
3 changes: 3 additions & 0 deletions NaughtyStrings/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AAPLNaughtyStringsBundlePrefix</key>
<string>${NAUGHTYSTRINGS_BUNDLE_PREFIX}</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand Down Expand Up @@ -37,6 +39,7 @@
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
</dict>
</plist>
28 changes: 28 additions & 0 deletions NaughtyStringsProxy/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AAPLNaughtyStringsBundlePrefix</key>
<string>${NAUGHTYSTRINGS_BUNDLE_PREFIX}</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions NaughtyStringsProxy/NaughtyStringsProxy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// NaughtyStringsProxy.h
// NaughtyStringsProxy
//
// Created by Esteban Torres on 18/8/15.
// Copyright © 2015 Perfectly-Cooked. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for NaughtyStringsProxy.
FOUNDATION_EXPORT double NaughtyStringsProxyVersionNumber;

//! Project version string for NaughtyStringsProxy.
FOUNDATION_EXPORT const unsigned char NaughtyStringsProxyVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <NaughtyStringsProxy/PublicHeader.h>


24 changes: 24 additions & 0 deletions NaughtyStringsProxyTests/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
36 changes: 36 additions & 0 deletions NaughtyStringsProxyTests/NaughtyStringsProxyTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// NaughtyStringsProxyTests.swift
// NaughtyStringsProxyTests
//
// Created by Esteban Torres on 18/8/15.
// Copyright © 2015 Perfectly-Cooked. All rights reserved.
//

import XCTest
@testable import NaughtyStringsProxy

class NaughtyStringsProxyTests: XCTestCase {

override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}

func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() {
// This is an example of a performance test case.
self.measureBlock {
// Put the code you want to measure the time of here.
}
}

}

0 comments on commit 00e11bc

Please sign in to comment.