diff --git a/.gitignore b/.gitignore index 2658b04..5f6fc93 100644 --- a/.gitignore +++ b/.gitignore @@ -130,6 +130,7 @@ DerivedData *.ipa *.xcuserstate project.xcworkspace +ios/build ################ # JetBrains diff --git a/ios/AppConfigSettingsFramework copy-Info.plist b/ios/AppConfigSettingsFramework copy-Info.plist new file mode 100644 index 0000000..d3de8ee --- /dev/null +++ b/ios/AppConfigSettingsFramework copy-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/ios/AppConfigSettingsFramework.xcodeproj/project.pbxproj b/ios/AppConfigSettingsFramework.xcodeproj/project.pbxproj index ee1ea2e..1deaf3f 100644 --- a/ios/AppConfigSettingsFramework.xcodeproj/project.pbxproj +++ b/ios/AppConfigSettingsFramework.xcodeproj/project.pbxproj @@ -14,6 +14,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 550EB9DA2AEABC48004FACF3 /* AppConfigSettingsFramework copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "AppConfigSettingsFramework copy-Info.plist"; path = "/Users/derekwheeler/code/react-native-mdm/ios/AppConfigSettingsFramework copy-Info.plist"; sourceTree = ""; }; C91CCA6F1C691C0700E71355 /* AppConfigSettingsFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AppConfigSettingsFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; C91CCA721C691C0700E71355 /* AppConfigSettingsFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppConfigSettingsFramework.h; sourceTree = ""; }; C91CCA741C691C0700E71355 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -168,6 +169,7 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_FRAMEWORK_INCLUDE_PRIVATE_FROM_PUBLIC = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; @@ -186,6 +188,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + EXCLUDED_ARCHS = arm64; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -200,6 +203,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "/AppConfigSettingsFramework/**"; IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -228,6 +232,7 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_FRAMEWORK_INCLUDE_PRIVATE_FROM_PUBLIC = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; @@ -246,6 +251,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + EXCLUDED_ARCHS = arm64; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -254,6 +260,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "/AppConfigSettingsFramework/**"; IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; diff --git a/ios/AppConfigSettingsFramework/AppConfigSettingsFramework.h b/ios/AppConfigSettingsFramework/AppConfigSettingsFramework.h index 1478657..37dc0a4 100644 --- a/ios/AppConfigSettingsFramework/AppConfigSettingsFramework.h +++ b/ios/AppConfigSettingsFramework/AppConfigSettingsFramework.h @@ -15,4 +15,4 @@ FOUNDATION_EXPORT double AppConfigSettingsFrameworkVersionNumber; FOUNDATION_EXPORT const unsigned char AppConfigSettingsFrameworkVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import -#import "ManagedAppConfigKeys.h" \ No newline at end of file +#import diff --git a/package.json b/package.json index 292800a..710ac43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-mdm", - "version": "2.0.1", + "version": "2.2.0", "description": "A mobile device management (MDM) module for react-native", "main": "index.js", "scripts": { diff --git a/react-native-mdm.podspec b/react-native-mdm.podspec index 465fd0b..8fdeaf2 100644 --- a/react-native-mdm.podspec +++ b/react-native-mdm.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.license = package['license'] s.authors = package['author'] s.homepage = "https://github.com/robinpowered/react-native-mdm" - s.platforms = { :ios => "9.0", :osx => "10.14" } + s.platforms = { :ios => "12.0", :osx => "10.14" } s.source = { :git => "https://github.com/robinpowered/react-native-mdm.git", :tag => "v#{s.version}" } s.source_files = "ios/**/*.{h,m}" s.dependency 'React'