You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an installation issue on iOS of version 0.2.8 (censored absolute path to .pub-cache):
Swift Compiler Error (Xcode): No such module 'KlippaIdentityVerification'
/XXX/.pub-cache/hosted/pub.dev/klippa_identity_verification_sdk-0.2.8/ios/Classes/SwiftKlippaIdentityVerificationSdkPlugin.swif
t:2:7
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
I tried the following:
Ran flutter clean && flutter pub get -> didn't work
Cleared dependency cache (flutter pub cache clean) -> didn't work
Deleted ios/Pods and ios/Podfile.lock and reinstalled dependencies -> didn't work
Here's the full Podfile (censored sensitive information):
platform :ios, '13.0'
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_USERNAME'] = 'XXX'
ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_PASSWORD'] = 'XXX'
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__))
if "#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_URL']}" == ""
ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_URL'] = File.read(File.join(File.dirname(File.realpath(__FILE__)), '.symlinks', 'plugins', 'klippa_identity_verification_sdk', 'ios', 'sdk_repo')).strip
end
if "#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_VERSION']}" == ""
ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_VERSION'] = File.read(File.join(File.dirname(File.realpath(__FILE__)), '.symlinks', 'plugins', 'klippa_identity_verification_sdk', 'ios', 'sdk_version')).strip
end
pod 'Klippa-Identity-Verification', podspec: "#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_URL']}/#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_USERNAME']}/#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_PASSWORD']}/KlippaIdentityVerification/#{ENV['KLIPPA_IDENTITY_VERIFICATION_SDK_VERSION']}.podspec"
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_LOCATION=1',
'PERMISSION_NOTIFICATIONS=1',
]
end
end
end
Output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale
en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
The text was updated successfully, but these errors were encountered:
Hi,
I'm facing an installation issue on iOS of version 0.2.8 (censored absolute path to
.pub-cache
):I tried the following:
flutter clean && flutter pub get
-> didn't workflutter pub cache clean
) -> didn't workios/Pods
andios/Podfile.lock
and reinstalled dependencies -> didn't workHere's the full
Podfile
(censored sensitive information):Output of
flutter doctor
:The text was updated successfully, but these errors were encountered: