You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/10/30 11:50:25 UTC

[1/7] ios commit: CB-9690 Can't submit iPad apps to the App Store for iOS 9

Repository: cordova-ios
Updated Branches:
  refs/heads/3.9.x 32f7c2bf8 -> 95f46ba32


CB-9690 Can't submit iPad apps to the App Store for iOS 9

This closes #167


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/352cc10f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/352cc10f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/352cc10f

Branch: refs/heads/3.9.x
Commit: 352cc10f4586b9f4b5175c953ae24c1b26d84f7c
Parents: 32f7c2b
Author: sgrebnov <v-...@microsoft.com>
Authored: Mon Oct 26 14:23:27 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Mon Oct 26 14:37:46 2015 +0300

----------------------------------------------------------------------
 bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/352cc10f/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
----------------------------------------------------------------------
diff --git a/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist b/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
index c4059b7..e78f6c6 100644
--- a/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
+++ b/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
@@ -99,6 +99,8 @@
 		<string>UIInterfaceOrientationPortraitUpsideDown</string>
 		<string>UIInterfaceOrientationLandscapeRight</string>
 	</array>
+	<key>UIRequiresFullScreen</key>
+    <true/>
     <key>UILaunchImages</key>
         <array>
             <dict>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[4/7] ios commit: CB-9679 - Resource rules issue with iOS 9

Posted by an...@apache.org.
CB-9679 - Resource rules issue with iOS 9


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/d13597d0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/d13597d0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/d13597d0

Branch: refs/heads/3.9.x
Commit: d13597d0b7271b121236612f7479af48e52bca97
Parents: 9cab849
Author: sgrebnov <v-...@microsoft.com>
Authored: Mon Oct 26 15:36:46 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Mon Oct 26 15:36:46 2015 +0300

----------------------------------------------------------------------
 bin/templates/scripts/cordova/build.xcconfig | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d13597d0/bin/templates/scripts/cordova/build.xcconfig
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/build.xcconfig b/bin/templates/scripts/cordova/build.xcconfig
index 0b89ad0..92a845a 100644
--- a/bin/templates/scripts/cordova/build.xcconfig
+++ b/bin/templates/scripts/cordova/build.xcconfig
@@ -27,6 +27,3 @@
 // "iPhone Developer": Development builds (default, local only; iOS Development certificate) or "iPhone Distribution": Distribution builds (Adhoc/In-House/AppStore; iOS Distribution certificate)
 CODE_SIGN_IDENTITY = iPhone Developer
 CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
-
-// (CB-7872) Solution for XCode 6.1 signing errors related to resource envelope format deprecation 
-CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[5/7] ios commit: Enable NSAllowsArbitraryLoads by default

Posted by an...@apache.org.
Enable NSAllowsArbitraryLoads by default


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/8fe5e653
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/8fe5e653
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/8fe5e653

Branch: refs/heads/3.9.x
Commit: 8fe5e65390cfd031e351ea54cc0a1ff0d365e980
Parents: d13597d
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Mon Oct 26 18:26:18 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Mon Oct 26 18:32:09 2015 +0300

----------------------------------------------------------------------
 .../project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist        | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/8fe5e653/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
----------------------------------------------------------------------
diff --git a/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist b/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
index e78f6c6..1ae551d 100644
--- a/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
+++ b/bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
@@ -22,6 +22,11 @@
 -->
 <plist version="1.0">
 <dict>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>
 	<key>CFBundleDisplayName</key>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/7] ios commit: CB-9610 Fix warning in cordova-ios under Xcode 7

Posted by an...@apache.org.
CB-9610 Fix warning in cordova-ios under Xcode 7


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/6f771f96
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/6f771f96
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/6f771f96

Branch: refs/heads/3.9.x
Commit: 6f771f96afa1bcfa3878550b0a5f94dd95a43866
Parents: 352cc10
Author: sgrebnov <v-...@microsoft.com>
Authored: Mon Oct 26 14:31:32 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Mon Oct 26 14:37:54 2015 +0300

----------------------------------------------------------------------
 bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6f771f96/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m
----------------------------------------------------------------------
diff --git a/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m b/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m
index 3cb3198..77bef36 100644
--- a/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m
+++ b/bin/templates/project/__PROJECT_NAME__/Classes/AppDelegate.m
@@ -135,7 +135,11 @@
     }
 #endif
 
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000
 - (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window
+#else
+- (UIInterfaceOrientationMask)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window
+#endif
 {
     // iPhone doesn't support upside down by default, while the iPad does.  Override to allow all orientations always, and let the root view controller decide what's allowed (the supported orientations mask gets intersected).
     NSUInteger supportedInterfaceOrientations = (1 << UIInterfaceOrientationPortrait) | (1 << UIInterfaceOrientationLandscapeLeft) | (1 << UIInterfaceOrientationLandscapeRight) | (1 << UIInterfaceOrientationPortraitUpsideDown);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[7/7] ios commit: Adds deprecation warnings for upcoming 4.0.0 release

Posted by an...@apache.org.
Adds deprecation warnings for upcoming 4.0.0 release


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/95f46ba3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/95f46ba3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/95f46ba3

Branch: refs/heads/3.9.x
Commit: 95f46ba32e29453af83c79a1d26be528e9ceeff0
Parents: 51bf20c
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Tue Oct 27 12:42:47 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Thu Oct 29 10:35:11 2015 +0300

----------------------------------------------------------------------
 CordovaLib/Classes/CDVPlugin.h         |  2 +-
 CordovaLib/Classes/CDVViewController.h | 14 +++++++-------
 CordovaLib/Classes/NSData+Base64.h     |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/95f46ba3/CordovaLib/Classes/CDVPlugin.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVPlugin.h b/CordovaLib/Classes/CDVPlugin.h
index 5e8b283..c9991e5 100644
--- a/CordovaLib/Classes/CDVPlugin.h
+++ b/CordovaLib/Classes/CDVPlugin.h
@@ -38,7 +38,7 @@ extern NSString* const CDVRemoteNotificationError;
 
 @property (readonly, assign) BOOL hasPendingOperation;
 
-- (CDVPlugin*)initWithWebView:(UIWebView*)theWebView;
+- (CDVPlugin*)initWithWebView:(UIWebView*)theWebView CDV_DEPRECATED(3.9.2, "Use pluginInitialize method instead. This will be removed in 4.0.0");
 - (void)pluginInitialize;
 
 - (void)handleOpenURL:(NSNotification*)notification;

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/95f46ba3/CordovaLib/Classes/CDVViewController.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.h b/CordovaLib/Classes/CDVViewController.h
index 51863a5..ed11404 100644
--- a/CordovaLib/Classes/CDVViewController.h
+++ b/CordovaLib/Classes/CDVViewController.h
@@ -41,8 +41,8 @@
 @property (nonatomic, readonly, strong) NSDictionary* pluginsMap;
 @property (nonatomic, readonly, strong) NSMutableDictionary* settings;
 @property (nonatomic, readonly, strong) NSXMLParser* configParser;
-@property (nonatomic, readonly, strong) CDVWhitelist* whitelist; // readonly for public
-@property (nonatomic, readonly, assign) BOOL loadFromString;
+@property (nonatomic, readonly, strong) CDVWhitelist* whitelist CDV_DEPRECATED(3.9.2, "Use URLisAllowed to check specific URL. This will be removed in 4.0.0"); // readonly for public
+@property (nonatomic, readonly, assign) BOOL loadFromString CDV_DEPRECATED(3.9.2, "This will be removed in 4.0.0");
 
 @property (nonatomic, readwrite, copy) NSString* wwwFolderName;
 @property (nonatomic, readwrite, copy) NSString* startPage;
@@ -61,14 +61,14 @@
  */
 @property (nonatomic, readwrite, copy) NSString* baseUserAgent;
 
-+ (NSDictionary*)getBundlePlist:(NSString*)plistName;
-+ (NSString*)applicationDocumentsDirectory;
++ (NSDictionary*)getBundlePlist:(NSString*)plistName CDV_DEPRECATED(3.9.2, "This will be removed in 4.0.0");
++ (NSString*)applicationDocumentsDirectory CDV_DEPRECATED(3.9.2, "This will be removed in 4.0.0");
 
-- (void)printMultitaskingInfo;
-- (void)createGapView;
+- (void)printMultitaskingInfo CDV_DEPRECATED(3.9.2, "This will be removed in 4.0.0");
+- (void)createGapView CDV_DEPRECATED(3.9.2, "This will be removed in 4.0.0");
 - (UIWebView*)newCordovaViewWithFrame:(CGRect)bounds;
 
-- (void)javascriptAlert:(NSString*)text;
+- (void)javascriptAlert:(NSString*)text CDV_DEPRECATED(3.9.2, "Use the CDVCommandDelegate evalJs: directly. This will be removed in 4.0.0");
 - (NSString*)appURLScheme;
 
 - (NSArray*)parseInterfaceOrientations:(NSArray*)orientations;

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/95f46ba3/CordovaLib/Classes/NSData+Base64.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/NSData+Base64.h b/CordovaLib/Classes/NSData+Base64.h
index c92d1f6..1633a72 100644
--- a/CordovaLib/Classes/NSData+Base64.h
+++ b/CordovaLib/Classes/NSData+Base64.h
@@ -41,7 +41,7 @@ char *CDVNewBase64Encode(
 
 - (NSString*)base64EncodedString CDV_DEPRECATED(3.8 .0, "Use [NSData cdv_base64EncodedString]");
 
-+ (NSData*)cdv_dataFromBase64String:(NSString*)aString;
-- (NSString*)cdv_base64EncodedString;
++ (NSData*)cdv_dataFromBase64String:(NSString*)aString CDV_DEPRECATED(3.9.2, "Use NSData initWithBase64EncodedString instead. This will be removed in 4.0.0");
+- (NSString*)cdv_base64EncodedString CDV_DEPRECATED(3.9.2, "Use NSData base64EncodedStringWithOptions instead. This will be removed in 4.0.0");
 
 @end


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[6/7] ios commit: CB-9721 Set ENABLE_BITCODE to NO in build.xcconfig

Posted by an...@apache.org.
CB-9721 Set ENABLE_BITCODE to NO in build.xcconfig


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/51bf20ce
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/51bf20ce
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/51bf20ce

Branch: refs/heads/3.9.x
Commit: 51bf20cea66813e188c57127c5fdc32f9a625cdd
Parents: 8fe5e65
Author: Simon MacDonald <si...@gmail.com>
Authored: Tue Oct 27 11:51:26 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Tue Oct 27 11:52:57 2015 +0300

----------------------------------------------------------------------
 bin/templates/scripts/cordova/build.xcconfig | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/51bf20ce/bin/templates/scripts/cordova/build.xcconfig
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/build.xcconfig b/bin/templates/scripts/cordova/build.xcconfig
index 92a845a..54a5abd 100644
--- a/bin/templates/scripts/cordova/build.xcconfig
+++ b/bin/templates/scripts/cordova/build.xcconfig
@@ -27,3 +27,6 @@
 // "iPhone Developer": Development builds (default, local only; iOS Development certificate) or "iPhone Distribution": Distribution builds (Adhoc/In-House/AppStore; iOS Distribution certificate)
 CODE_SIGN_IDENTITY = iPhone Developer
 CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
+
+// (CB-9721) Set ENABLE_BITCODE to NO in build.xcconfig
+ENABLE_BITCODE = NO


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[3/7] ios commit: CB-9656 - Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta

Posted by an...@apache.org.
CB-9656 - Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/9cab8496
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/9cab8496
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/9cab8496

Branch: refs/heads/3.9.x
Commit: 9cab8496c6e45047c0a9cb01a33bf29fa1adab3f
Parents: 6f771f9
Author: sgrebnov <v-...@microsoft.com>
Authored: Mon Oct 26 15:23:09 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Mon Oct 26 15:23:09 2015 +0300

----------------------------------------------------------------------
 bin/templates/project/__CLI__.xcodeproj/project.pbxproj     | 1 +
 bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/9cab8496/bin/templates/project/__CLI__.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/bin/templates/project/__CLI__.xcodeproj/project.pbxproj b/bin/templates/project/__CLI__.xcodeproj/project.pbxproj
index 56b22de..2e5af18 100755
--- a/bin/templates/project/__CLI__.xcodeproj/project.pbxproj
+++ b/bin/templates/project/__CLI__.xcodeproj/project.pbxproj
@@ -528,6 +528,7 @@
 					"\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
 					"\"$(OBJROOT)/UninstalledProducts/include\"",
 					"\"$(BUILT_PRODUCTS_DIR)\"",
+					"\"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include\"",
 				);
 				IPHONEOS_DEPLOYMENT_TARGET = 6.0;
 				OTHER_LDFLAGS = (

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/9cab8496/bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj b/bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj
index 70fe26d..c5f11d6 100755
--- a/bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj
+++ b/bin/templates/project/__NON-CLI__.xcodeproj/project.pbxproj
@@ -512,6 +512,7 @@
 					"\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
 					"\"$(OBJROOT)/UninstalledProducts/include\"",
 					"\"$(BUILT_PRODUCTS_DIR)\"",
+					"\"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include\"",
 				);
 				IPHONEOS_DEPLOYMENT_TARGET = 6.0;
 				OTHER_LDFLAGS = (


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org