diff --git a/CHANGELOG.md b/CHANGELOG.md index 03a7f10..e693106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.11 + +* android build break fix + ## 0.0.10 * update README.md diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4a0f945..cc84123 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,6 +15,12 @@ pool: name: 'Default' steps: +- script: | + cd example + $(flutterPath)/flutter build ios + displayName: 'Test iOS -- Build' + env: + flutterPath: $(flutterPath) - script: | cd example $(flutterPath)/flutter packages get @@ -22,3 +28,8 @@ steps: displayName: 'Test Android -- Build' env: flutterPath: $(flutterPath) +- script: | + $(flutterPath)/flutter pub pub publish --dry-run + displayName: 'Publish -- Dry Run' + env: + flutterPath: $(flutterPath) \ No newline at end of file diff --git a/example/ios/Podfile b/example/ios/Podfile index 390fb13..799e2b4 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -66,7 +66,6 @@ end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| - config.build_settings['SWIFT_VERSION'] = '5.0' config.build_settings['ENABLE_BITCODE'] = 'NO' end end diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 53d5fb7..e84dd13 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -174,8 +174,8 @@ TargetAttributes = { 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; - DevelopmentTeam = W5L5PDU89L; LastSwiftMigration = 1020; + ProvisioningStyle = Automatic; }; }; }; @@ -368,7 +368,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -379,8 +379,10 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = W5L5PDU89L; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -394,7 +396,8 @@ ); PRODUCT_BUNDLE_IDENTIFIER = net.touch.capture; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 4.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -452,7 +455,7 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -504,7 +507,7 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -516,8 +519,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = W5L5PDU89L; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -531,9 +536,10 @@ ); PRODUCT_BUNDLE_IDENTIFIER = net.touch.capture; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 4.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -544,8 +550,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = W5L5PDU89L; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -559,8 +567,9 @@ ); PRODUCT_BUNDLE_IDENTIFIER = net.touch.capture; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 4.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/ios/qr_code_scanner.podspec b/ios/qr_code_scanner.podspec index f7dcd4c..6945e9b 100644 --- a/ios/qr_code_scanner.podspec +++ b/ios/qr_code_scanner.podspec @@ -18,6 +18,6 @@ A new Flutter project. s.dependency 'Flutter' s.dependency 'MTBBarcodeScanner' s.ios.deployment_target = '8.0' - s.swift_version = '5.0' + s.swift_version = '4.0' end diff --git a/pubspec.yaml b/pubspec.yaml index 53dda90..bbd4dab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: qr_code_scanner description: QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS. -version: 0.0.10 +version: 0.0.11 author: Julius Canute homepage: https://juliuscanute.com repository: https://github.com/juliuscanute/qr_code_scanner