Skip to content

Conversation

morganchen12
Copy link
Contributor

Previously our assets weren't bundled with the static libs we were building, meaning in order to release anything we'd have to bundle them manually.

This PR doesn't solve everything--the dylibs need to be lipod to run on both simulator and device, and then they need to be unlipod (and codesigned) when embedding them in the product since the App Store rejects apps that link against fat dylibs.

@morganchen12 morganchen12 reopened this Sep 7, 2016
@morganchen12 morganchen12 force-pushed the dylibs branch 5 times, most recently from d4f0834 to b0d6e18 Compare September 7, 2016 21:17
@morganchen12
Copy link
Contributor Author

Looks like we won't need to strip slices out because of CocoaPods magic. This PR now mostly works now: the build.swift script generates the correct folder structure with assets and everything. The only remaining thing is I broke CI somehow :(

@morganchen12 morganchen12 changed the title [WIP] Change static library targets to dynamic framework targets Change static library targets to dynamic framework targets Sep 7, 2016
s.author = 'Firebase'
s.source = { :http => 'https://dl.google.com/dl/firebase/firebaseui/ios/0_5_0/FirebaseUIFrameworks.zip' }
# s.source = { :http => 'https://dl.google.com/dl/firebase/firebaseui/ios/0_5_0/FirebaseUIFrameworks.zip' }
s.source = { :http => 'http://localhost:7777/FirebaseUIFrameworks.zip' }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an intentional check in?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, you should talk to @yramanchuk about his changes here for local development.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

README.md Outdated
[![Build Status](https://travis-ci.org/firebase/FirebaseUI-iOS.svg?branch=master)](https://travis-ci.org/firebase/FirebaseUI-iOS)

FirebaseUI is an open-source library for iOS that allows you to quickly connect common UI elements to the [Firebase](https://firebase.google.com?utm_campaign=Firebase_update_awareness_general_en_05-18-16_&utm_source=?utm_campaign=Firebase_featureoverview_awareness_analytics_en_05-18-16_&utm_source=?utm_campaign=Firebase_announcement_awareness_general_en_05-18-16_&utm_source=Firebase&utm_medium=ads&utm_medium=?utm_campaign=Firebase_announcement_awareness_general_en_05-18-16_&utm_source=Firebase&utm_medium=ads&utm_medium=?utm_campaign=Firebase_update_awareness_auth_en_05-18-16_&utm_source=?utm_campaign=Firebase_announcement_awareness_general_en_05-18-16_&utm_source=Firebase&utm_medium=ads&utm_medium=?utm_campaign=Firebase_featureoverview_awareness_analytics_en_05-18-16_&utm_source=?utm_campaign=Firebase_announcement_awareness_general_en_05-18-16_&utm_source=Firebase&utm_medium=ads&utm_medium=?utm_campaign=Firebase_announcement_awareness_general_en_05-18-16_&utm_source=Firebase&utm_medium=ads) database for data storage, allowing views to be updated in realtime as they change, and providing simple interfaces for common tasks like displaying lists or collections of items.
FirebaseUI is an open-source library for iOS that allows you to quickly connect common UI elements to the [Firebase](https://firebase.google.com) database for data storage, allowing views to be updated in realtime as they change, and providing simple interfaces for common tasks like displaying lists or collections of items.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet mother of UTM campaigns. Let's keep a utm_source=FirebaseUI-iOS at the minimum... (but yeah, who added the other ones?)

@morganchen12 morganchen12 reopened this Sep 8, 2016
@morganchen12 morganchen12 force-pushed the dylibs branch 2 times, most recently from 9bac4c1 to 3c61ee1 Compare September 8, 2016 17:46
@morganchen12
Copy link
Contributor Author

Tests pass! Quick, merge while no one is looking

@yramanchuk
Copy link
Contributor

  1. don't forget to update 2nd podspec (dev one) after merge
  2. I'm not sure, but usually we are not removing dependent lib versions (FBSDKLoginKit', '~> 4.0')
    I had issues, when 3rd party was updated before our release and already tested version got broken

@morganchen12 morganchen12 merged commit 3a88db4 into firebase:master Sep 9, 2016
@morganchen12 morganchen12 deleted the dylibs branch October 5, 2016 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants