GoogleMapsUtils Framework envuelto en Cocoapods Error de compilación en Xcode
Estoy tratando de desarrollar una biblioteca Cocoapods que envuelva las utilidades de Google Maps para iOS en un proyecto de Objective C. Logré construir y pasar la pelusa y la validación del enlace, pero cuando ejecuto el proyecto en un Xcode recibo un error de bulding.
'GoogleMaps/GMSAddress.h' file not found
Importé el Google Maps de forma manual e intenté usar este pod:https://github.com/googlemaps/google-maps-ios-utils
Aquí está el archivo podspec
Pod::Spec.new do |s|
s.name = 'Core'
s.version = '0.1.0'
s.summary = 'Core. Core for APPS. Maps System. More.'
s.description = <<-DESC
Core is the heart of all the APPS instances and APPS.
Includes all the major assets and the resources for optimize all the system.
Anyway the wind blows.
DESC
s.homepage = ''
# s.screenshots = 'www.example.com/screenshots_1',
'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Moblie Department' => '[email protected]' }
s.source = { :git => 'https://mycore.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.requires_arc = true
s.source_files = 'SkitudeCore/Classes/**/*.{h,m}',
'StaticLibraries/**/*.h'
#s.compiler_flags = '-fno-modules'
s.frameworks = 'CoreData','SystemConfiguration', 'Accelerate', 'CoreGraphics', 'CoreLocation', 'CoreText', 'GLKit', 'ImageIO', 'OpenGLES', 'QuartzCore', 'UIKit', 'AdSupport', "GoogleMaps", "GoogleMapsBase", "GoogleMapsCore"
s.vendored_frameworks = 'StaticLibraries/GoogleMaps.framework', 'StaticLibraries/GoogleMapsBase.framework', 'StaticLibraries/GoogleMapsCore.framework'
s.xcconfig = {'OTHER_LDFLAGS' => ' -ObjC -lc++', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES', 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2'}
s.library = 'z', 'c++', 'xml2'
s.resource_bundles = {
'SkitudeCore' => ['SkitudeCore/Assets/**/*.{png,jpg,xib,strings}'],
'GoogleMapsBundle' => ['StaticLibraries/GoogleMaps.bundle/**/*.{png,jpg,xib,strings}']
}
s.public_header_files ='StaticLibraries/GoogleMapsCore.framework/**/*.h',
'StaticLibraries/GoogleMapsBase.framework/**/*.h',
'StaticLibraries/GoogleMaps.framework/**/*.h'
s.dependency 'NSHash', '~> 1.1'
s.dependency 'sqlite3'
end
Y mi podfile
use_frameworks!
install! 'cocoapods', :deterministic_uuids => false
platform :ios, '9.0'
target 'SkitudeCore_Example' do
pod 'SkitudeCore', :path => '../'
target 'SkitudeCore_Tests' do
inherit! :search_paths
end
end