dyld-image-loading-performance icon indicating copy to clipboard operation
dyld-image-loading-performance copied to clipboard

What can I do for frameworks that are not from the source code?

Open lucabartoletti opened this issue 7 years ago • 7 comments

I have some framework, like GoogleMaps, that are not build out of the source code. What do you suggest to do in this cases?

In a project where I have GoogleMaps following the step in README the linking fails cause it can't link GoogleMaps

lucabartoletti avatar May 23 '17 19:05 lucabartoletti

I think google maps currently is distributed as a static framework, so you don't have to do anything special to make that work, in the end it will be statically linked to your binary regardless.

keith avatar May 23 '17 20:05 keith

Thanks, but it looks like that the linking fails, so i wondered if there is any additional steps for those kind of frameworks.

On 23 May 2017 at 21:09:23, Keith Smiley ([email protected]) wrote:

I think google maps currently is distributed as a static framework, so you don't have to do anything special to make that work, in the end it will be statically linked to your binary regardless.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stepanhruda/dyld-image-loading-performance/issues/12#issuecomment-303517210, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzNDbS67iMpKNXZ5Zyv8VB3KwdaNLN2ks5r8zzzgaJpZM4NkLyJ .

lucabartoletti avatar May 23 '17 20:05 lucabartoletti

You should make sure to not apply any of the settings from this repo to those targets, and instead just link them normally.

keith avatar May 23 '17 20:05 keith

Thanks again, Is there a way skip those frameworks? right now the post_install step in the README gets all the frameworks in bulk, I have no idea of how I can skip some of them.

I'm doing somer research about this anyway, I'll post a pull request If I'll find something. Let me know if you know how to do it

lucabartoletti avatar May 24 '17 10:05 lucabartoletti

You can use target.display_name in an if statement and exclude all pods matching a list of names you define.

-- Keith Smiley

On May 24, 2017, at 12:31, Luca Bartoletti [email protected] wrote:

Thanks again, Is there a way skip those frameworks? right now the post_install step in the README gets all the frameworks in bulk, I have no idea of how I can skip some of them.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

keith avatar May 24 '17 21:05 keith

I'll create a pull request for the README to clarify this part with an example

lucabartoletti avatar May 31 '17 13:05 lucabartoletti

The answer to the issue was never replied...

I have a bunch of dynamic Frameworks, all of them private, that I install through cocoa pods. Will the solution of this repo work for a Framework that is not from source?

If not, what other solutions do we have if we don't/can't distribute as source?

pkrmf avatar Sep 03 '17 16:09 pkrmf