Code Monkey home page Code Monkey logo

Comments (12)

yurkins avatar yurkins commented on May 31, 2024

@GRyabkin Nice!

from xcframeworks.

bielikb avatar bielikb commented on May 31, 2024

Hi,
if you're eg using the fastlane plugin to create the xcframework, you should be fine with

  1. Adding an aggregate target to your project that builds the dynamic framework

Screenshot 2020-11-02 at 19 56 10

  1. Adding the Run script phase to the aggregated target.
    Here's an example of the script that
// cd to the project folder.
cd ${SRCROOT} #  Please note that if `fastlane` folder is not present as a subfolder of this project folder you might want run additional `cd ..` command

// run the lane that builds the xcframework
bundle exec fastlane export_xcframework

Let me know if that works. If not, you might want to play with your setup

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

Hey dude, I had the aggregate target before. I wanted to simplify by using fastlane for my CI. Looks like the action doesn't work.

from xcframeworks.

bielikb avatar bielikb commented on May 31, 2024

Can you please clarify what exactly you're trying to achieve? I lack details about your current setup and what's the final goal you try to achieve, so any direction or information would be helpful ;)

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

I want to make your fastlane action to work

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

I want to build xcframework of my SDK by using the fastlane action

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

I have my Bundle name set as $(PRODUCT_NAME) maybe hardcoding this param helps but it's strange that it's not taken into account. Also, look fastlane action xcodebuild has derivedDataPath parameter I am surprised that you recommend me to cd to folder where derived data will be generated

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

Two archives succeded but the error looking into logs happens at combining them I guess

from xcframeworks.

bielikb avatar bielikb commented on May 31, 2024

Im afraid that without the demo project/setup that reproduces your issue I won't be able to help you.

from xcframeworks.

bielikb avatar bielikb commented on May 31, 2024

Have you tried to not use the product name param? Will you get the same result?

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

Forget, I will try to finish it up with fastlane action

from xcframeworks.

hrabkin avatar hrabkin commented on May 31, 2024

The question was about embedding xcframework into project, not building it

from xcframeworks.

Related Issues (13)

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.