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
A static framework link was created in OTHER_LDFLAGS, this is wrong why the xcode tries to compile but reports the error "framework 'SOAPEngine' not found"
# Uncomment the next line to define a global platform for your project# platform :ios, '9.0'target'SOAPTest'do# Comment the next line if you don't want to use dynamic frameworksuse_frameworks!# Pods for SOAPTestpod'SOAPEngine',:podspec=>'~/Desktop/SOAPTest/SOAPEngine/SOAPEngine.podspec'end## remove -framework SOAPEngine with script##post_install do |installer|# installer.pods_project.targets.each do |target|# target.build_configurations.each do |config|# xcconfig_path = config.base_configuration_reference.real_path# xcconfig = File.read(xcconfig_path)# xcconfig_mod = xcconfig.gsub(/-framework "SOAPEngine"/, "")# File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }# end# end#end
Podspec
Pod::Spec.new do |s|
s.name = 'SOAPEngine'
s.version = '1.43'
s.summary = 'This generic SOAP client allows you to access web services using a your iOS and Mac OS X app.'
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
s.authors = { 'Danilo Priore' => 'support@prioregroup.com' }
s.homepage = 'https://github.com/priore/SOAPEngine'
s.social_media_url = 'https://twitter.com/danilopriore'
s.libraries = 'xml2'
s.source = { :http => 'file:/Users/danilo/Desktop/SOAPTest/SOAPEngine/SOAPEngine.zip' }
s.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/**" }
s.vendored_frameworks = 'SOAPEngine.xcframework'
s.preserve_paths = 'SOAPEngine.xcframework'
s.frameworks = 'Security'
s.ios.deployment_target = '7.1'
s.ios.xcconfig = { 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' }
s.ios.framework = 'Accounts'
s.tvos.deployment_target = '9.0'
s.tvos.xcconfig = { 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' }
s.osx.deployment_target = '10.9'
s.osx.framework = 'AppKit'
s.osx.framework = 'Accounts'
end
Report
What did you do?
Run
pod install
What did you expect to happen?
Install xcframework without linking a static framework in OTHER_LDFLAGS.
What happened instead?
A static framework link was created in OTHER_LDFLAGS, this is wrong why the xcode tries to compile but reports the error "framework 'SOAPEngine' not found"
and I had to use a script in the pod file to remove it, see
post_install
which is now commented out/disabled.CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
Podspec
Project that demonstrates the issue
SOAPTest.zip
The text was updated successfully, but these errors were encountered: