Both can be done within XCode.
Creating the .ipa
- open your project in Xcode
- in Xcode select Product>Archive
- select your latest archive and then ‘Distribute App’
- as method for distribution select ‘debugging’ and distribute
- select export to create a folder with the created .ipa file
Deploy .ipa to device
- hit shift+cmd+2 in Xcode to open devices tab
- select your physical device
- drag and drop your .ipa to the list of installed apps