Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 386 Vote(s) - 3.46 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hide Cocoapods implementation

#1
I would like to hide the implementation for a framework I'm distributing via Cocoapods, my `.podspec` currently looks like this:

Pod::Spec.new do |s|
s.name = "SomeName"
s.version = "0.0.1"
s.summary = "Some Summary"
s.description = <<-DESC
some description
DESC
s.homepage = "https://www.some.homepage"
s.license = "Some Licence"
s.author = { "My Name" => "[email protected]" }
s.platform = :ios, "9.0"
s.source = { :http => "https://www.some.link.to/my/MyFramework.framework.zip" }
s.vendored_frameworks = "**/MyFramework.framework"
s.frameworks = "MyFramework"
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/MyFramework"' }
s.preserve_paths = 'MyFramework.framework'
s.so

Now I do have two questions:

* what's the difference between `s.source` and the `MyFramework.framework` I have to include in the pod? Which one is taken?
* my pod contains json-files, I tried it out locally and everything works as expected, the json-files are not visible in the client project - how can I hide them in the `.framework`-file as well? The user sees the link to the framework, can download it and sees the json files in there... is there a way to hide this?
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through