Coder Social home page Coder Social logo

cocoapods-amimono-example's Introduction

cocoapods-amimono-example

amimono-example

This is:

  • Objective-C iOS project (with Swift sources)
  • Using an Objective-C written Pod
  • Using a Swift written Pod
  • Pods include resource bundles
  • Project has a testing target (also using CocoaPods)
  • Project has a Watch OS 3 target (also using CocoaPods)

A project like this has successfully passed iTunes Connect validation.

About this plugin

You can learn more from cocoapods-amimono.

Project setup

Install the gem:

gem install cocoapods-amimono

Add the following to your Podfile:

plugin 'cocoapods-amimono'

Add the following to your post_install hook:

post_install do |installer|
  require 'cocoapods-amimono/patcher'
  Amimono::Patcher.patch!(installer)
  ...

Troubleshooting

If you get the following error:

ld: library not found for -lswiftCoreLocation for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It is most likely that you're trying to use a Pod written in Swift without having Swift in your application target yet. Just add a dummy File.swift (like here) to fix this error.

dyld API usage

You can find the dyld API usage logs in the following gists:

dyld API usage with plugin
dyld API usage without plugin

Only in the later logs, you'll find calls like:

dlopen(/Users/ruenzuo/Library/Developer/CoreSimulator/Devices/93964D2A-914D-45F9-91F8-15D0C59FAAD5/data/Containers/Bundle/Application/48A9E07B-7E9A-4109-9000-3CBBCCDF21E4/Example.app/Frameworks/ImagePicker.framework/ImagePicker, 0x00000010)
  dlopen(/Users/ruenzuo/Library/Developer/CoreSimulator/Devices/93964D2A-914D-45F9-91F8-15D0C59FAAD5/data/Containers/Bundle/Application/48A9E07B-7E9A-4109-9000-3CBBCCDF21E4/Example.app/Frameworks/ImagePicker.framework/ImagePicker) ==> 0x107e20798
...
dlopen(/Users/ruenzuo/Library/Developer/CoreSimulator/Devices/93964D2A-914D-45F9-91F8-15D0C59FAAD5/data/Containers/Bundle/Application/48A9E07B-7E9A-4109-9000-3CBBCCDF21E4/Example.app/Frameworks/AFNetworking.framework/AFNetworking, 0x00000010)
  dlopen(/Users/ruenzuo/Library/Developer/CoreSimulator/Devices/93964D2A-914D-45F9-91F8-15D0C59FAAD5/data/Containers/Bundle/Application/48A9E07B-7E9A-4109-9000-3CBBCCDF21E4/Example.app/Frameworks/AFNetworking.framework/AFNetworking) ==> 0x107e20520

cocoapods-amimono-example's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.