Browse Source

configure ios

pull/3/head
Khoren Markosyan 3 years ago
parent
commit
2e3af7f1ce
  1. 8
      example/ios/Podfile.lock
  2. 6
      example/ios/Runner.xcodeproj/project.pbxproj
  3. 1
      ios/flutter_zxing.modulemap
  4. 14
      ios/flutter_zxing.podspec

8
example/ios/Podfile.lock

@ -1,21 +1,27 @@
PODS: PODS:
- camera (0.0.1):
- Flutter
- Flutter (1.0.0) - Flutter (1.0.0)
- flutter_zxing (0.0.1): - flutter_zxing (0.0.1):
- Flutter - Flutter
DEPENDENCIES: DEPENDENCIES:
- camera (from `.symlinks/plugins/camera/ios`)
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
- flutter_zxing (from `.symlinks/plugins/flutter_zxing/ios`) - flutter_zxing (from `.symlinks/plugins/flutter_zxing/ios`)
EXTERNAL SOURCES: EXTERNAL SOURCES:
camera:
:path: ".symlinks/plugins/camera/ios"
Flutter: Flutter:
:path: Flutter :path: Flutter
flutter_zxing: flutter_zxing:
:path: ".symlinks/plugins/flutter_zxing/ios" :path: ".symlinks/plugins/flutter_zxing/ios"
SPEC CHECKSUMS: SPEC CHECKSUMS:
camera: 9993f92f2c793e87b65e35f3a23c70582afb05b1
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_zxing: 9d0bc3e7d684f2b2d05e111f322c1e2a91ed5c03 flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c

6
example/ios/Runner.xcodeproj/project.pbxproj

@ -3,7 +3,7 @@
archiveVersion = 1; archiveVersion = 1;
classes = { classes = {
}; };
objectVersion = 50; objectVersion = 51;
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
@ -68,7 +68,6 @@
368258B4689172C6B99610B3 /* Pods-Runner.release.xcconfig */, 368258B4689172C6B99610B3 /* Pods-Runner.release.xcconfig */,
3D6887A541906C150239870D /* Pods-Runner.profile.xcconfig */, 3D6887A541906C150239870D /* Pods-Runner.profile.xcconfig */,
); );
name = Pods;
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
@ -359,6 +358,7 @@
DEVELOPMENT_TEAM = RE853S4FBU; DEVELOPMENT_TEAM = RE853S4FBU;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
@ -488,6 +488,7 @@
DEVELOPMENT_TEAM = RE853S4FBU; DEVELOPMENT_TEAM = RE853S4FBU;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
@ -511,6 +512,7 @@
DEVELOPMENT_TEAM = RE853S4FBU; DEVELOPMENT_TEAM = RE853S4FBU;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",

1
ios/flutter_zxing.modulemap

@ -0,0 +1 @@
framework module flutter_zxing {}

14
ios/flutter_zxing.podspec

@ -20,4 +20,18 @@ A new flutter plugin project.
# Flutter.framework does not contain a i386 slice. # Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.swift_version = '5.0' 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 end

Loading…
Cancel
Save