Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8a54ef0f
Commit
8a54ef0f
authored
Dec 30, 2017
by
DonLakeFlyer
Browse files
Fix iOS build
parent
73d856d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
QGCCommon.pri
View file @
8a54ef0f
...
...
@@ -83,7 +83,7 @@ linux {
DEFINES += NO_SERIAL_LINK
DEFINES += QGC_DISABLE_UVC
QMAKE_IOS_DEPLOYMENT_TARGET = 8.0
QMAKE_
IOS
_TARGETED_DEVICE_FAMILY = 1,2 # Universal
QMAKE_
APPLE
_TARGETED_DEVICE_FAMILY = 1,2 # Universal
QMAKE_LFLAGS += -Wl,-no_pie
} else {
error("Unsupported build platform, only Linux, Windows, Android and Mac (Mac OS and iOS) are supported")
...
...
QGCSetup.pri
View file @
8a54ef0f
...
...
@@ -40,7 +40,7 @@ WindowsBuild {
# Perform platform specific setup
#
iOSBuild |
MacBuild {
MacBuild {
# Update version info in bundle
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $${MAC_VERSION}\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $${MAC_BUILD}\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
...
...
qgroundcontrol.pro
View file @
8a54ef0f
...
...
@@ -43,8 +43,6 @@ MacBuild {
}
iOSBuild
{
BUNDLE
.
files
=
$$
files
(
$$
PWD
/
ios
/
AppIcon
*.
png
)
$$
PWD
/
ios
/
QGCLaunchScreen
.
xib
QMAKE_BUNDLE_DATA
+=
BUNDLE
LIBS
+=
-
framework
AVFoundation
#--
Info
.
plist
(
need
an
"official"
one
for
the
App
Store
)
ForAppStore
{
...
...
@@ -63,6 +61,8 @@ iOSBuild {
QMAKE_INFO_PLIST
=
$$
{
BASEDIR
}
/
ios
/
iOS
-
Info
.
plist
OTHER_FILES
+=
$$
{
BASEDIR
}
/
ios
/
iOS
-
Info
.
plist
}
BUNDLE
.
files
=
$$
files
(
$$
PWD
/
ios
/
AppIcon
*.
png
)
$$
PWD
/
ios
/
QGCLaunchScreen
.
xib
$$
QMAKE_INFO_PLIST
QMAKE_BUNDLE_DATA
+=
BUNDLE
#--
TODO
:
Add
iTunesArtwork
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment