Skip to content

Commit

Permalink
compile fixes and missing plist for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ettore committed Dec 2, 2015
1 parent 83bbc9f commit 76bddb9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CLIPhone/CLAPNSController.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ -(id)init
+(BOOL)hasPushNotificationsEnabled
{
UIApplication *app = [UIApplication sharedApplication];
CLCG_P(@"Currently enabled APN types: %d", [app enabledRemoteNotificationTypes]);
CLCG_P(@"Currently enabled APN types: %lu",
(unsigned long)[app enabledRemoteNotificationTypes]);
return ([app enabledRemoteNotificationTypes] != UIRemoteNotificationTypeNone);
}

Expand Down
20 changes: 20 additions & 0 deletions iOSLogicTests-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?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>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

0 comments on commit 76bddb9

Please sign in to comment.