Hello, tried this library and works correctly in android. But when trying to run this in iOS, it always prompt an error with this log :
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using ARCHS setting to build architectures of target Pods-Runner: (`) Fetching external sources -> Fetching podspec forFlutterfromFlutter -> Fetching podspec forpath_provider_foundationfrom.symlinks/plugins/path_provider_foundation/ios -> Fetching podspec forvocsy_epub_viewerfrom.symlinks/plugins/vocsy_epub_viewer/ios Resolving dependencies ofPodfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_4_2_c.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_4_7_f.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/7/f/EpubViewerKit/0.1.3/EpubViewerKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/7/f/EpubViewerKit/0.1.3/EpubViewerKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_2_1_2.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/2/1/2/SSZipArchive/2.5.3/SSZipArchive.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_5_e_4.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/5/e/4/MenuItemKit/4.0.1/MenuItemKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_7_2_e.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/7/2/e/ZFDragableModalTransition/0.6/ZFDragableModalTransition.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_2_e_0.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/2/e/0/AEXML/4.6.1/AEXML.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_9_d_3.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/d/3/FontBlaster/5.3.0/FontBlaster.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_9_4_5.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/4/5/RealmSwift/10.35.1/RealmSwift.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/2/1/2/SSZipArchive/2.2.3/SSZipArchive.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/5/e/4/MenuItemKit/4.0.1/MenuItemKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/7/2/e/ZFDragableModalTransition/0.6/ZFDragableModalTransition.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/2/e/0/AEXML/4.6.0/AEXML.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/d/3/FontBlaster/5.1.1/FontBlaster.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/4/5/RealmSwift/5.5.1/RealmSwift.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_b_a_7.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/b/a/7/Realm/10.35.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/b/a/7/Realm/5.5.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/b/a/7/Realm/5.5.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.10.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.5/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.2.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.22.4/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.17.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.12.1303/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.9.102/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
Comparing resolved specification to the sandbox manifest
A AEXML
A EpubViewerKit
A Flutter
A FontBlaster
A MenuItemKit
A Realm
A RealmSwift
A SSZipArchive
A ZFDragableModalTransition
A path_provider_foundation
A vocsy_epub_viewer
Downloading dependencies
-> Installing AEXML (4.6.0)
Copying AEXML from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/AEXML/4.6.0-2fbb7 to Pods/AEXML
-> Installing EpubViewerKit (0.1.3)
Copying EpubViewerKit from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/EpubViewerKit/0.1.3-5f6c8 to Pods/EpubViewerKit
-> Installing Flutter (1.0.0)
-> Installing FontBlaster (5.1.1)
Copying FontBlaster from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/FontBlaster/5.1.1-8897e to Pods/FontBlaster
-> Installing MenuItemKit (4.0.1)
$ /usr/bin/git ls-remote -- https://github.com/cxa/MenuItemKit.git master
22c027e9cdd89a8e449c714b5a5f64c8976b54ac refs/heads/master
Copying MenuItemKit from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/MenuItemKit/4.0.1-14599 to Pods/MenuItemKit
-> Installing Realm (5.5.1)
Copying Realm from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/Realm/5.5.1-c2ffe to Pods/Realm
-> Installing RealmSwift (5.5.1)
Copying RealmSwift from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/RealmSwift/5.5.1-5a35c to Pods/RealmSwift
-> Installing SSZipArchive (2.2.3)
Copying SSZipArchive from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/SSZipArchive/2.2.3-62d49 to Pods/SSZipArchive
-> Installing ZFDragableModalTransition (0.6)
Copying ZFDragableModalTransition from /Users/btsolve/Library/Caches/CocoaPods/Pods/Release/ZFDragableModalTransition/0.6-0d294 to Pods/ZFDragableModalTransition
-> Installing path_provider_foundation (0.0.1)
-> Installing vocsy_epub_viewer (2.0.0)
Running pre install hooks
Running pre integrate hooks
Generating Pods project
Creating Pods project
Installing files into Pods project
Adding source files
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
Hello, tried this library and works correctly in android. But when trying to run this in iOS, it always prompt an error with this log :
Launching lib/main.dart on iPhone 14 Pro Max in debug mode... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using
ARCHS
setting to build architectures of targetPods-Runner
: (`) Fetching external sources -> Fetching podspec for
Flutterfrom
Flutter-> Fetching podspec for
path_provider_foundationfrom
.symlinks/plugins/path_provider_foundation/ios-> Fetching podspec for
vocsy_epub_viewerfrom
.symlinks/plugins/vocsy_epub_viewer/iosResolving dependencies of
Podfile` CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_4_2_c.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_4_7_f.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/7/f/EpubViewerKit/0.1.3/EpubViewerKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/7/f/EpubViewerKit/0.1.3/EpubViewerKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_2_1_2.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/1/2/SSZipArchive/2.5.3/SSZipArchive.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_5_e_4.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/5/e/4/MenuItemKit/4.0.1/MenuItemKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_7_2_e.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/7/2/e/ZFDragableModalTransition/0.6/ZFDragableModalTransition.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_2_e_0.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/e/0/AEXML/4.6.1/AEXML.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_9_d_3.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/d/3/FontBlaster/5.3.0/FontBlaster.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_9_4_5.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/4/5/RealmSwift/10.35.1/RealmSwift.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/1/2/SSZipArchive/2.2.3/SSZipArchive.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/5/e/4/MenuItemKit/4.0.1/MenuItemKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/7/2/e/ZFDragableModalTransition/0.6/ZFDragableModalTransition.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/e/0/AEXML/4.6.0/AEXML.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/d/3/FontBlaster/5.1.1/FontBlaster.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/4/5/RealmSwift/5.5.1/RealmSwift.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_b_a_7.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/b/a/7/Realm/10.35.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/b/a/7/Realm/5.5.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/b/a/7/Realm/5.5.1/Realm.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.10.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.5/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.2.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/2.0.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.22.4/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.17.0/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.12.1303/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/1.9.102/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update Comparing resolved specification to the sandbox manifest A AEXML A EpubViewerKit A Flutter A FontBlaster A MenuItemKit A Realm A RealmSwift A SSZipArchive A ZFDragableModalTransition A path_provider_foundation A vocsy_epub_viewer Downloading dependencies -> Installing AEXML (4.6.0)I hope somebody could help me with this. Thank you
P.S This project was newly created so no other library is associated with my pubspec.yaml file (just to try this library before putting in my project)