Skip to content

Instantly share code, notes, and snippets.

@ygit
Created April 24, 2019 12:15
Show Gist options
  • Save ygit/4430d1c2f8fb52d1e6743a1e600b1e2f to your computer and use it in GitHub Desktop.
Save ygit/4430d1c2f8fb52d1e6743a1e600b1e2f to your computer and use it in GitHub Desktop.
Point to local Podspecs repo instead of Master/Trunk Podspecs
platform :ios, '9.0'
workspace '../WebEngageAll'
source 'https://github.com/WebEngage/podspecs.git'
# source 'https://github.com/CocoaPods/Specs.git'
def app_pods
pod 'WebEngage' #:path => '../Built'
end
target 'ProdExample' do
app_pods
end
target 'StagingExample' do
app_pods
end
#App Extension Targets
def serviceExtension
platform :ios, '10.0'
pod 'WebEngageBannerPush'
end
def contentExtension
platform :ios, '10.0'
pod 'WebEngageAppEx/ContentExtension'
end
target 'ServiceExtension' do
serviceExtension
end
target 'ContentExtension' do
contentExtension
end
target 'StagingServiceExtension' do
serviceExtension
end
target 'StagingContentExtension' do
contentExtension
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment