Skip to content

Update Xcode projects - #19574

Closed
pvinis wants to merge 1 commit into
react:masterfrom
pvinis:feature/update-xcode-project
Closed

Update Xcode projects#19574
pvinis wants to merge 1 commit into
react:masterfrom
pvinis:feature/update-xcode-project

Conversation

@pvinis

@pvinispvinis commented Jun 5, 2018

Copy link
Copy Markdown
Contributor

A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.

I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.

Test Plan

I made two react native projects, one with the regular react native and the other one using this branch.
Left is before, right is after:
screen shot 2018-06-05 at 15 44 34

Release Notes

[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.

@pvinis
pvinis requested a review from shergin as a code ownerJune 5, 2018 13:47
@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 5, 2018
@hramos

Copy link
Copy Markdown
Contributor

I'd accept this PR if it was limited to upgrading the project to recommended settings. Can you split out the method removals / replacements to a separate PR?

@hramoshramos mentioned this pull request Jun 9, 2018
5 tasks
@pvinis

Copy link
Copy Markdown
ContributorAuthor

alright. i will separate it. thanks.

@hramos

Copy link
Copy Markdown
Contributor

We recently merged a PR that fixed a bunch of these warnings, by the way.

@pvinis

Copy link
Copy Markdown
ContributorAuthor

i saw, ill make sure to go from master, to see if i have some more stuff here.

@pvinis
pvinisforce-pushed the feature/update-xcode-project branch from ccce82f to 5ecedd5CompareJune 18, 2018 15:37
@pvinis

Copy link
Copy Markdown
ContributorAuthor

@hramos done. only xcode recommendations here. ill make the rest into different prs. thanks again.

@facebook-github-botfacebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jun 18, 2018

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hramos

Copy link
Copy Markdown
Contributor

I'm reverting this as end to end tests are now broken. Let's work on a fix so we can land these changes successfully again.

@hramoshramos reopened this Jun 18, 2018
@pvinis

Copy link
Copy Markdown
ContributorAuthor

the erros are because of some method implementations that are broken on master. i had this fixed on the original pr.

i think the best way forward it if i make a new pr with the method fixes for this. then after merging that one, we can merge this too. sounds good?

@pvinis

Copy link
Copy Markdown
ContributorAuthor

pushed #19790, which has the fixes i had for e2e. the tests passed so i guess we could merge that one first. then this one, along with the 2-3 more i made, should be fine on merge.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification.

@facebook-github-botfacebook-github-bot added Import Failed and removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Jun 19, 2018
@pvinis

Copy link
Copy Markdown
ContributorAuthor

ill rebase right after #19574 lands on master.

facebook-github-bot pushed a commit that referenced this pull request Jun 19, 2018
Summary:
These lines were causing erros with the e2e tests on ios.
There are some methods that are not going to be called, and some definitions that are not correct.
needed for #19574.
we will run the e2e tests.
[INTERNAL] [MINOR] [Tests] - Fix some definitions.
Closes#19790
Differential Revision: D8509228
Pulled By: hramos
fbshipit-source-id: 78650e347db52305a587e3461ac56877e3c79062
@pvinispvinis closed this Jun 19, 2018
@pvinis
pvinisforce-pushed the feature/update-xcode-project branch from 5ecedd5 to c6a52b6CompareJune 19, 2018 18:12
@pvinispvinis reopened this Jun 19, 2018
@pvinis

Copy link
Copy Markdown
ContributorAuthor

rebased this to master. lets see if tests are happy now.

@hramos

Copy link
Copy Markdown
Contributor

Thanks @pvinis!

@facebook-github-botfacebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jun 20, 2018
hramos added a commit to hramos/react-native that referenced this pull request Jun 21, 2018
hramos added a commit to hramos/react-native that referenced this pull request Jun 21, 2018
hramos added a commit to hramos/react-native that referenced this pull request Jun 22, 2018
sidnair pushed a commit to taptapsend/react-native that referenced this pull request Aug 2, 2018
Summary:
These lines were causing erros with the e2e tests on ios.
There are some methods that are not going to be called, and some definitions that are not correct.
needed for react#19574.
we will run the e2e tests.
[INTERNAL] [MINOR] [Tests] - Fix some definitions.
Closesreact#19790
Differential Revision: D8509228
Pulled By: hramos
fbshipit-source-id: 78650e347db52305a587e3461ac56877e3c79062
rozele pushed a commit to microsoft/react-native-windows that referenced this pull request Aug 17, 2018
Summary:
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
I made two react native projects, one with the regular react native and the other one using this branch.
Left is before, right is after:
![screen shot 2018-06-05 at 15 44 34](https://user-images.githubusercontent.com/100233/40979899-6aba12da-68d7-11e8-8630-6c3009b6dc24.png)
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Differential Revision: D8489006
Pulled By: hramos
fbshipit-source-id: 2922b2e76aca6883c4f5d04e9c511b9fc1029583
rozele pushed a commit to microsoft/react-native-windows that referenced this pull request Aug 17, 2018
Summary:
@public
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Reviewed By: shergin
Differential Revision: D8530135
Pulled By: hramos
fbshipit-source-id: b9c9ede0e07760cb2207caa6b468bd5c241848dc
sidnair pushed a commit to taptapsend/react-native that referenced this pull request Aug 21, 2018
Summary:
These lines were causing erros with the e2e tests on ios.
There are some methods that are not going to be called, and some definitions that are not correct.
needed for react#19574.
we will run the e2e tests.
[INTERNAL] [MINOR] [Tests] - Fix some definitions.
Closesreact#19790
Differential Revision: D8509228
Pulled By: hramos
fbshipit-source-id: 78650e347db52305a587e3461ac56877e3c79062
bartolkaruza pushed a commit to bartolkaruza/react-native-cameraroll that referenced this pull request Feb 23, 2019
Summary:
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
I made two react native projects, one with the regular react native and the other one using this branch.
Left is before, right is after:
![screen shot 2018-06-05 at 15 44 34](https://user-images.githubusercontent.com/100233/40979899-6aba12da-68d7-11e8-8630-6c3009b6dc24.png)
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Differential Revision: D8489006
Pulled By: hramos
fbshipit-source-id: 2922b2e76aca6883c4f5d04e9c511b9fc1029583
bartolkaruza pushed a commit to bartolkaruza/react-native-cameraroll that referenced this pull request Feb 23, 2019
Summary:
@public
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Reviewed By: shergin
Differential Revision: D8530135
Pulled By: hramos
fbshipit-source-id: b9c9ede0e07760cb2207caa6b468bd5c241848dc
bartolkaruza pushed a commit to bartolkaruza/react-native-cameraroll that referenced this pull request Feb 24, 2019
Summary:
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
I made two react native projects, one with the regular react native and the other one using this branch.
Left is before, right is after:
![screen shot 2018-06-05 at 15 44 34](https://user-images.githubusercontent.com/100233/40979899-6aba12da-68d7-11e8-8630-6c3009b6dc24.png)
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Differential Revision: D8489006
Pulled By: hramos
fbshipit-source-id: 2922b2e76aca6883c4f5d04e9c511b9fc1029583
bartolkaruza pushed a commit to bartolkaruza/react-native-cameraroll that referenced this pull request Feb 24, 2019
Summary:
@public
A few people have been complaining, including me, that when we compile a react native project, there are a lot of warnings from xcode, suggesting to update the project build settings to the new recommendations.
I took the liberty to actually update the xcode projects, so we can finally have these gone, as well as replace some deprecated methods with the new suggested ones.
[IOS] [MINOR] [Xcode] - updated the Xcode projects with the latest suggestions from Xcode 9.3, and replaced a few deprecated methods of iOS with their new replacements.
Closesreact/react-native#19574
Reviewed By: shergin
Differential Revision: D8530135
Pulled By: hramos
fbshipit-source-id: b9c9ede0e07760cb2207caa6b468bd5c241848dc
@hramoshramos added Merged This PR has been merged. and removed Import Failed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Mar 8, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.Platform: iOSiOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@pvinis@hramos@facebook-github-bot@react-native-bot