Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Renamed bundles to inloopx ones. #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 22 additions & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
use_frameworks!

target 'Styles_Example' do
pod 'Styles', :path => '../', :testspecs => ['Tests']
pod 'Styles', :path => '../', :testspecs => ['Tests']
end

post_install do |installer|
bundle_id = 'com.inloopx.$(PRODUCT_NAME:rfc1034identifier)'

directory = installer.config.project_pods_root + 'Target Support Files/'
Dir.foreach(directory) do |path|
full_path = directory + path

if File.directory?(full_path)
info_plist_path = full_path + 'Info.plist'

if File.exist?(info_plist_path)
text = File.read(info_plist_path)
new_contents = text.gsub('${PRODUCT_BUNDLE_IDENTIFIER}', bundle_id)
File.open(info_plist_path, "w") { |file|
file.puts new_contents
}
end
end
end
end
2 changes: 1 addition & 1 deletion Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Styles: 3fc440dfcecb82a37a6c6d887915b04a605d6ff3

PODFILE CHECKSUM: f5341d1bc44d76e5ca1e0d50940004053970d8dc
PODFILE CHECKSUM: db7b31f00d4e65c6696abf0d2bb41bfe66906d6d

COCOAPODS: 1.5.3
2 changes: 1 addition & 1 deletion Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

462 changes: 231 additions & 231 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions Example/Pods/Target Support Files/Styles/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Styles.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_BUNDLE_IDENTIFIER = "com.inloopx.styles-example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
Expand All @@ -713,7 +713,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_BUNDLE_IDENTIFIER = "com.inloopx.styles-example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
Expand Down