Permalink
Browse files

Changed app ID and added icons

  • Loading branch information...
1 parent 5c5720a commit 7316786609e48860d5dd3c505b9c2c291f435b47 @tonisalae committed Mar 30, 2012
@@ -7,6 +7,8 @@
objects = {
/* Begin PBXBuildFile section */
+ 6F4E92EF1525B38D00A98C99 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F4E92EE1525B38D00A98C99 /* icon.png */; };
+ 6F4E92F21525B38F00A98C99 /* icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F4E92F11525B38F00A98C99 /* icon@2x.png */; };
6F5FE8E81525974200CA9B64 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F5FE8E71525974200CA9B64 /* UIKit.framework */; };
6F5FE8EA1525974200CA9B64 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F5FE8E91525974200CA9B64 /* Foundation.framework */; };
6F5FE8EC1525974200CA9B64 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F5FE8EB1525974200CA9B64 /* CoreGraphics.framework */; };
@@ -31,6 +33,8 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 6F4E92EE1525B38D00A98C99 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
+ 6F4E92F11525B38F00A98C99 /* icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon@2x.png"; sourceTree = "<group>"; };
6F5FE8E31525974200CA9B64 /* FacebookScorerDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FacebookScorerDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
6F5FE8E71525974200CA9B64 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
6F5FE8E91525974200CA9B64 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -90,6 +94,8 @@
6F5FE8D81525974200CA9B64 = {
isa = PBXGroup;
children = (
+ 6F4E92F11525B38F00A98C99 /* icon@2x.png */,
+ 6F4E92EE1525B38D00A98C99 /* icon.png */,
6F5FE8ED1525974200CA9B64 /* FacebookScorerDemo */,
6F5FE8E61525974200CA9B64 /* Frameworks */,
6F5FE8E41525974200CA9B64 /* Products */,
@@ -242,6 +248,8 @@
6F5FE8F21525974200CA9B64 /* InfoPlist.strings in Resources */,
6F5FE8FE1525974200CA9B64 /* ViewController.xib in Resources */,
6F5FE9211525976B00CA9B64 /* FBDialog.bundle in Resources */,
+ 6F4E92EF1525B38D00A98C99 /* icon.png in Resources */,
+ 6F4E92F21525B38F00A98C99 /* icon@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -376,6 +384,7 @@
6F5FE9031525974200CA9B64 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
@@ -8,7 +8,7 @@
#import "FacebookScorer.h"
-static NSString* kAppId = @"226736984067070"; // Your Facebook app ID here
+static NSString* kAppId/* = @"000000000000000"*/; // Your Facebook app ID here
#define kAppName @"Your App's name"
#define kCustomMessage @"I just got a score of %d in %@, an iPhone/iPod Touch game by me!"
@@ -27,7 +27,7 @@ @implementation FacebookScorer
#pragma mark Singleton Methods
- (id)init {
if (!kAppId) {
- NSLog(@"missing app id!");
+ NSLog(@"MISSING APP ID!!!");
exit(1);
return nil;
}
@@ -8,6 +8,17 @@
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIcons</key>
+ <dict>
+ <key>CFBundlePrimaryIcon</key>
+ <dict>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>icon.png</string>
+ <string>icon@2x.png</string>
+ </array>
+ </dict>
+ </dict>
<key>CFBundleIdentifier</key>
<string>com.tonisalae.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -20,6 +31,17 @@
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
+ <key>CFBundleURLTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleURLName</key>
+ <string>000000000000000</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>fb000000000000000</string>
+ </array>
+ </dict>
+ </array>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
@@ -34,16 +56,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleURLName</key>
- <string>226736984067070</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>fb226736984067070</string>
- </array>
- </dict>
- </array>
</dict>
</plist>
View
@@ -2,9 +2,7 @@
With FacebookScorer you can post scores for your game on Facebook Wall on user's behalf in a **single line of code**.
-<center>
![image](http://indiedevstories.files.wordpress.com/2011/08/facebook_post1.png)
-</center>
More about me at [IndieDevStories.com](http://indiedevstories.com)
View
BIN icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7316786

Please sign in to comment.