diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 90e1b38..87f9028 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,21 +1,27 @@ PODS: + - camera (0.0.1): + - Flutter - Flutter (1.0.0) - flutter_zxing (0.0.1): - Flutter DEPENDENCIES: + - camera (from `.symlinks/plugins/camera/ios`) - Flutter (from `Flutter`) - flutter_zxing (from `.symlinks/plugins/flutter_zxing/ios`) EXTERNAL SOURCES: + camera: + :path: ".symlinks/plugins/camera/ios" Flutter: :path: Flutter flutter_zxing: :path: ".symlinks/plugins/flutter_zxing/ios" SPEC CHECKSUMS: + camera: 9993f92f2c793e87b65e35f3a23c70582afb05b1 Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - flutter_zxing: 9d0bc3e7d684f2b2d05e111f322c1e2a91ed5c03 + flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6 PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 1fb9d94..60217f8 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ @@ -68,7 +68,6 @@ 368258B4689172C6B99610B3 /* Pods-Runner.release.xcconfig */, 3D6887A541906C150239870D /* Pods-Runner.profile.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -359,6 +358,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -488,6 +488,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -511,6 +512,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/flutter_zxing.modulemap b/ios/flutter_zxing.modulemap new file mode 100644 index 0000000..0fb2198 --- /dev/null +++ b/ios/flutter_zxing.modulemap @@ -0,0 +1 @@ +framework module flutter_zxing {} \ No newline at end of file diff --git a/ios/flutter_zxing.podspec b/ios/flutter_zxing.podspec index e50b1c7..1f31265 100644 --- a/ios/flutter_zxing.podspec +++ b/ios/flutter_zxing.podspec @@ -20,4 +20,18 @@ A new flutter plugin project. # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.swift_version = '5.0' + + # telling linker to include opencv2 framework + s.xcconfig = { + 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++20', + } + + # including C++ library + s.library = 'c++' + + # # Set as a static lib + # s.static_framework = true + + # module_map is needed so this module can be used as a framework + s.module_map = 'flutter_zxing.modulemap' end