Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

Fixed path of the example app - UICatalog.app #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mindheist
Copy link
Contributor

Same as my previous pull request on ios_simple.py : #80

The path to the UICatalog.app was previously derived by concatenating a ‘system path' + 'name_of_the_app’. I suppose this might have been done since they had too many example apps in the directory.

Removed that concatenation step.

All we need is a direct path to the UICatalog app.

'../../apps/UICatalog/build/release-iphonesimulator',
'UICatalog.app')
app = os.path.abspath(app)
app = os.path.abspath('../../apps/UICatalog/build/release-iphonesimulator/UICatalog.app')
Copy link
Contributor

Choose a reason for hiding this comment

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

this means that the path will be different based on the working directory. the existing strategy is to make it absolute, based on the location of this file. I think we probably still need it the way it is. You could join the last two lines, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants