Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8a54ef0f
Commit
8a54ef0f
authored
Dec 30, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iOS build
parent
73d856d5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
QGCCommon.pri
QGCCommon.pri
+1
-1
QGCSetup.pri
QGCSetup.pri
+1
-1
qgroundcontrol.pro
qgroundcontrol.pro
+2
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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