up model card id
Showing
No preview for this file type
File added
File added
File deleted
File deleted
No preview for this file type
File deleted
OCR-SDK/.DS_Store
0 → 100644
File added
File added
File added
OCR-SDK/Utils/.DS_Store
0 → 100644
File added
File moved
File moved
| ... | ... | @@ -6,13 +6,45 @@ target 'OCR-SDK' do |
| use_frameworks! | ||
| # Pods for OCR-SDK | ||
| pod 'TensorFlowLiteSwift' | ||
| pod 'TensorFlowLiteSwift', '~> 0.0.1-nightly' | ||
| #pod 'GoogleMobileVision/FaceDetector' | ||
| #pod 'GTMSessionFetcher' | ||
| end | ||
| #post_install do |installer| | ||
| # installer.pods_project.build_configurations.each do |config| | ||
| # config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" | ||
| # config.build_settings["BITCODE_GENERATION_MODE"] = "bitcode" | ||
| # end | ||
| #end | ||
| #bitcode enable | ||
| post_install do |installer| | ||
| installer.pods_project.build_configurations.each do |config| | ||
| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" | ||
| installer.pods_project.targets.each do |target| | ||
| target.build_configurations.each do |config| | ||
| # set valid architecture | ||
| config.build_settings['VALID_ARCHS'] = 'arm64 armv7 armv7s i386 x86_64' | ||
| # build active architecture only (Debug build all) | ||
| config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' | ||
| config.build_settings['ENABLE_BITCODE'] = 'YES' | ||
| if config.name == 'Release' || config.name == 'Pro' | ||
| config.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode' | ||
| else # Debug | ||
| config.build_settings['BITCODE_GENERATION_MODE'] = 'marker' | ||
| end | ||
| cflags = config.build_settings['OTHER_CFLAGS'] || ['$(inherited)'] | ||
| if config.name == 'Release' || config.name == 'Pro' | ||
| cflags << '-fembed-bitcode' | ||
| else # Debug | ||
| cflags << '-fembed-bitcode-marker' | ||
| end | ||
| config.build_settings['OTHER_CFLAGS'] = cflags | ||
| end | ||
| end | ||
| end |
File moved
No preview for this file type
File moved
File moved
File moved
File moved
yarn.lock
0 → 100644
Please register or sign in to comment