make the Supported Destinations of iOS project include iPad (#18142)

* make the Supported Destinations of iOS project include iPad
This commit is contained in:
minggo
2025-01-09 10:41:15 +08:00
committed by GitHub
parent 547469ab34
commit 61090036aa
5 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
name: "Linux-Ubuntu"
if:
(! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration'))
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Download external libraries
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
# Set the type of machine to run on
if:
(! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration'))
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
+1
View File
@@ -24,6 +24,7 @@
#pragma once
#include <cstdint>
#include <iostream>
namespace cc {
+1
View File
@@ -24,6 +24,7 @@
#pragma once
#include <cstdint>
#include "base/std/container/string.h"
namespace cc {
+2
View File
@@ -102,6 +102,8 @@ macro(cc_ios_after_target _target_name)
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=iphoneos*] "arm64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=iphonesimulator*] "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2")
target_link_libraries(${CC_EXECUTABLE_NAME} ${ENGINE_NAME})
target_include_directories(${CC_EXECUTABLE_NAME} PRIVATE