I just run the app with cocoapods.
Cocoapods version:
1.6.0.beta.1
xcode version:
10.0
What did you expect to happen?
everything works
What happened instead?
On each second run I get this error:
dyld: Library not loaded: @rpath/Adjust.framework/Adjust ...
tried to completely remove Adjust from project - nothing happens - the app shows the same error with the same frequency but with another pod - Keychain.
I also saw some issues which represent the similar errors but with another frequency and they don't happen in stable xcode 10 version
#source 'https://github.com/CocoaPods/Specs.git'
project 'Instagram.xcodeproj'
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
# Uncomment this line if you're using Swift
use_frameworks!
def shared_pods
# pod 'SwiftyStoreKit', '0.10.2'
pod 'SwiftyStoreKit', '0.13.1'
pod 'Keychain', :git => 'https://github.com/pkrll/Keychain.git', :branch => 'swift3'
# pod 'Firebase/Core'
pod 'WKBridge', '0.2.0'
pod 'Adjust', '~> 4.11.5'
pod 'SwiftSoup', '~> 1.7.1'
pod 'mopub-ios-sdk', '~>5.1.0'
pod 'MoPub-AdMob-Adapters', '~>7.31'
pod 'RealmSwift'
end
... //some code which is normal and not related to this problem
=begin
post_install do |installer|
# Special fix for 'AppIcon is not showing after install, even if icon files are located in bundle'
# Note: this code should be called at the end of post_install hook!
installer.aggregate_targets.each do |target|
copy_pods_resources_path = "Pods/Target Support Files/#{target.name}/#{target.name}-resources.sh"
string_to_replace = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"'
assets_compile_with_app_icon_arguments = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${BUILD_DIR}/assetcatalog_generated_info.plist"'
text = File.read(copy_pods_resources_path)
new_contents = text.gsub(string_to_replace, assets_compile_with_app_icon_arguments)
raise "Patching failed: can't find '#{string_to_replace}' in '#{copy_pods_resources_path}'" if new_contents == text
File.open(copy_pods_resources_path, "w") {|file| file.puts new_contents}
end
end
=end
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem :+1:
Report
What did you do?
I just run the app with cocoapods. Cocoapods version: 1.6.0.beta.1 xcode version: 10.0
What did you expect to happen?
everything works
What happened instead?
On each second run I get this error:
dyld: Library not loaded: @rpath/Adjust.framework/Adjust ...
tried to completely remove Adjust from project - nothing happens - the app shows the same error with the same frequency but with another pod - Keychain. I also saw some issues which represent the similar errors but with another frequency and they don't happen in stable xcode 10 versionCocoaPods Environment
Stack
Installation Source
Plugins
Podfile