228
questions
5
votes
0
answers
576
views
How do I view all editor tabs in Xcode?
In Xcode 14 I often have a large number "editor tabs" open but only enough screen space available to see 4 about of them:
Is there a way to get an overview of all active editor tabs, so I ...
0
votes
1
answer
63
views
Swift Mac - File doesn't exist loading image from same folder as main source file
I've been struggling with this for a bit, I can't seem to load an image(I've tried absolute/relative paths and different folders). The app is to set the wallpaper using an image. Also for some reason ...
1
vote
1
answer
276
views
Does Xcode have a way to jump to the "type declaration" for a variable?
Assume I have the following swift code...
let myFooInstance = Utils.createFooInstance() // variable type is `Foo`
... and I want to quickly jump to the type declaration for myFooInstance (ie navigate ...
-1
votes
1
answer
65
views
How can I see "all" constructors on AppCode by code completion?
I am new to ios development and studying SwiftUI.
xCode shows more than 5 constructors of Button.
AppCode shows only 2 constructors of Button.
xCode (many constructors)
AppCode (only 2 constructors)
...
-1
votes
2
answers
233
views
AppCode, no iOS simulator showing up
I've downloaded AppCode for iOS development. For my personal project I've a bunch of simulator to chose from. But for a work project there is no simulator but only "Add Configuration" (image ...
3
votes
1
answer
424
views
Using AppCode with Flutter plugin
How can I use AppCode for the ios-specific parts of my Flutter plugin?
I've created the plugin with flutter create --template=plugin --platforms=ios myplugin
The command doesn't generate an XCode ...
0
votes
0
answers
65
views
AppCode falsely reporting errors in C++ editor
I'm trying out AppCode and CLion for developing an C++ app on macOS. CLion seems to work well, but it's not obvious how to build a Cocoa/AppKit app, or an iOS app. I downloaded a trial of AppCode, ...
1
vote
0
answers
80
views
AppCode not showing warnings
I am using AppCode 2022.1.2 and I have Xcode version 13.3 and issue is that in AppCode I can not see warnings as in Xcode. Please refer on screenshots below. Is there any set up for AppCode that will ...
5
votes
2
answers
877
views
XCRemoteSwiftPackageReference .git suffix constantly changing in project.pbxproj
On our team, pull requests were often raised with changes similar to the following
(or sometimes they would change back, that is, remove the .git)
This was causing a lot of noise in PRs but we were ...
0
votes
2
answers
645
views
AppCode: Alamofire with Swift Async/Await: "request.serializingString().response" not available
I'm writing this because it caused me a few hours of work today. I figured it out so now maybe somebody else won't waste any time.
I'm an iOS developer and I use AppCode instead of Xcode.
I'm in the ...
1
vote
1
answer
308
views
Where is the AppCode "extract to file" refactoring?
I pretty sure there used to be a KB shortcut to "extract a class to a separate file".
Am I wrong or where did it go?
I tend to write several classes/structs in the same file when on a roll, ...
1
vote
0
answers
2k
views
Is it possible to see iPhone screen from XCode or AppCode debugger?
I have MacBook, iPhone and cable. I have connected them. On Android I am able to run my application on connected device and see it's screen from desktop computer. Is the same possible from within ...
0
votes
1
answer
179
views
Intellij IDEA custom dart format. How to make dot operator on the same line
I am trying to configure dart to let the operator . appear on the same line.
I am not having any success on configuring it to do that.
It currently looks like this
I would like colors.removeLast() ...
8
votes
1
answer
589
views
Appcode chaining methods indentation does not match with xcode indentation
XCode indents method chaining like this:
xcode method chaining indentation
However if I press auto-format on appcode, it formats it in a weird way:
appcode method chaining indentation
Does appcode ...
0
votes
0
answers
102
views
URL constructor returns `nil` in Swift [duplicate]
I am new to Swift and running some app under AppCode. And it looks for me, that something strange is happening: legal URL turns to nil in constructor.
This is a watch in debugger:
Why can it be?
0
votes
0
answers
58
views
AppCode says "Casting to probably incompatible type" when I'm explicitly checking the type
for (NSPropertyDescription *property in [[self entity] properties]) {
if ([property isKindOfClass:NSAttributeDescription.class]) {
NSAttributeDescription *...
0
votes
1
answer
40
views
AppCode PSI Plugin Development - Find reference protocol property
Having a protocol
protocol MyTest {
var isCorrect: Bool { get }
}
And a class that implements the protocol
class Super: MyTest {
var isCorrect: Bool = false
}
How can you find the declaration ...
0
votes
1
answer
426
views
Syncing with Swift Package Manager in AppCode fails: attempt to write a readonly database
With AppCode 2020.3, "syncing" my XCode projects fails. I only got the following error message, which says "attempt to write a readonly database":
Package manifest execution failed ...
1
vote
1
answer
3k
views
macOS Swift App: imkxpc_getApplicationProperty:reply: called with incorrect property value 4, bailing
I am writing macOS Swift application with the following environment:
XCode 12 and/or JetBrains AppCode 2020.2
Swift 5
macOS 10.15.7 Catalina
The Swift app has the following View code as its main UI;
...
0
votes
1
answer
60
views
How to remove linked project in AppCode?
The title says it all.
File > Add > Linked project takes you one way.
Where is the way back?
0
votes
1
answer
218
views
Appcode doesn't autocomplete third party libraries
Recently I'm giving a hand to my iOs team(coming from Android) and I'm trying to use Appcode to keep all my IntelliJ keybinds and shortcuts. However, even if I can work with Appcode and everything ...
0
votes
0
answers
119
views
How to open a MacOS target only project in AppCode
I have run
swift package init
to create a Package.swift
and then - since Appcode does not seem to support Package.swift I did
swift package generate-xcodeproj
to generate a macos.xcodeproj . My &...
1
vote
0
answers
189
views
Xcode legacy build system in the AppCode
I am working on xcode now, but I want switch to AppCode to test it's capabilities. Problem is, my project is quite old, and wont build without legacy build system turned on. I know how to switch ...
0
votes
1
answer
152
views
Appcode launch fails with "Config and system paths seem to be equal"
I just re-started AppCode and there is apparently a configuration problem:
I went to the /Applications/AppCode.app/Contents/bin' directory and neitheridea.config.pathoridea.system.path` exist in any ...
2
votes
1
answer
1k
views
Is it possible to install multiple AppCode versions side by side
I am a huge fan of Jetbrains "AppCode". But due to the variety of projects I have some depending on older XCode versions and others can be the latest and greatest. It's great that we can have multiple ...
14
votes
2
answers
1k
views
Equivalent to the Xcode playground in AppCode
I can not find any references to running xcode playgrounds in AppCode so am assuming that were not possible? Here is what an xcode playground looks like in AppCode: I am not even sure where to find ...
5
votes
1
answer
6k
views
Is it possible to code Swift on windows using JetBrains AppCode?
Is it possible to write proper Swift-code using the AppCode IDE from JetBrains? I'm looking for an option to build a native iOS-app without buying a macbook or iMac. I've been looking and searching ...
0
votes
1
answer
382
views
AppCode is unable to build any Swift apps
I am new to Swift and AppCode .
I am trying out existing projects for size and here is a set of interesting ones https://github.com/soapyigu/Swift-30-Projects In particular let's look at Project ...
1
vote
1
answer
1k
views
Opening a project in AppCode
I just downloaded and am trying out AppCode (but am a veteran user of multiple other JetBrains Ide's..) I have tried to open a few different projects but nothing happens.
An example is tensorflow/...
0
votes
1
answer
401
views
When I use AppCode, I cannot use third-party libraries through CocoaPods
Premise
AppCode version:
AppCode 2019.3.5 Build #OC-193.6494.48, built on February 12, 2020
Language
Swift 5.0
CocoaPods:
version
CocoaPods 1.8.3
repo
cocoapods-
- Type: CDN
- URL: ...
2
votes
3
answers
5k
views
Cocoa pods terminal utf-8 encoding
I am using IntelliJ AppCode for my project.
When I try to use cocoadpods from AppCode's terminal, I get the following warning:
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
...
4
votes
0
answers
199
views
JetBrains AppCode - IDE is indexing user directory
I have an iOS-Project depending on a library which is located in ~/Library/flutter/...
Using Xcode: Everything is going well.
Using AppCode from JetBrains: The IDE wants to index all files located ...
0
votes
0
answers
168
views
IntelliJ IDE hotkey or shortcut to swap x with y when there is a code like x=y
Is there a shortcut to swap x and y during assignment x = y. For example:
some_object.some_property = another_object.another_property
becomes
another_object.another_property = some_object....
0
votes
1
answer
225
views
AppCode editor does not respect multiple target, Swift Compiler Flags
When I switch to build any target that is not the first target. The code editor does not recognize the target change.
So any code
#if <other target>
...
#endif
...is not recognized by appCode ...
1
vote
2
answers
1k
views
Using Appcode with Kotlin/Native and Cocoapods
I'm starting to use Kotlin/native and Appcode for iOS development. I'm trying to get Cocoapods to work with Kotlin/native, but I'm having some challenges.
I've started with the empty Kotlin/native ...
4
votes
1
answer
100
views
Can I force dot/bracket notation?
For ObjC, I have the choice to use either dot notation or square bracket notation.
Is there a way to enforce (with errors/warnings) a certain notation for uniform notation throughout a project?
0
votes
1
answer
163
views
Can't open Xcode Template package (.xctemplate) with AppCode. Should I be able to?
Hmmm. I've just tried to open an Xcode Template package .xctemplate using AppCode. Nothing is opened, and AppCode just returns to the welcome screen.
Anyone familiar with this in AppCode?
0
votes
1
answer
159
views
Multiple developers on a single Mac Pro
My development team of 5 people is about to start working on an already existing native iOS app.
At the time being, we are all using Linux/Windows machines and we're going to have access to one Mac ...
2
votes
2
answers
719
views
How to speed up AppCode autocompletion?
I use IntelliJ products across multiple technologies and I have noticed that autocompletion in AppCode works much slower than for the other IDEs.
Example
What I already did
I've changed the default ...
0
votes
1
answer
340
views
project file not found during git cloning repository in AppCode
i want to clone the repository from github to the JetBrains IDE AppCode and edit it
I did everything as it is. but the folders are not displayed
they are in the computer, but not in the appcode
I ...
2
votes
1
answer
1k
views
IntelliJ IDEA 2018.3 add "Undo" / "Redo" etc. to the Toolbar
After upgrading to 2018.3, the Undo button disappeared from Toolbar. How can I add them to the toolbar? I do know how to get Customize toolbar window...but I find no way of adding the Undo button to ...
0
votes
1
answer
100
views
Private static variables in Swift don't compile in AppCode but it does in Xcode
I have a class where I have a private static constant:
class A {
private static let MY_CONSTANT = 1000
func setUp (xAxis:Charts.XAxis) {
...
}
}
Also in this class I have a ...
0
votes
0
answers
30
views
How to add a file to PbxGroupPsiElement - AppCode plugin development
I have a reference to PbxGroupPsiElement, and I'm trying to create a file inside using an action. To create a file I'm using following command: PbxGroupPsiElement.getDirectoryPsiElement().createFile("...
2
votes
0
answers
130
views
How to find references PsiElement AppCode Plugin Development
How we can find all the references of an existing PsiElement. Specifically a SwiftFunctionDeclaration. I've tried with
ReferencesSearch.search(functionDeclaration, ProjectScope.getProjectScope(...
1
vote
1
answer
104
views
AppCode pastes a random string into the editor on pressing Command-Shift-F
In AppCode, whenever I press Command-Shift-F it inputs the following string: 6EF0 28B7 43BF 7C04 A7BA 1B17 756E C8C0 9858 E251.
By default that binds to "Search Everywhere," so it used to just place ...
6
votes
1
answer
424
views
How to set indexing locations in AppCode?
AppCode is indexing my entire home folder including places like ~/Library/Containers/com.apple.Maps/... and ~/Dropbox/ etc. which is taking eons. I know I can invalidate my cache and restart, but then ...
0
votes
1
answer
55
views
How do I make AppCode show protocol conformance?
When I use Xcode, it shows warnings telling me a class doesn't conform to a protocol. How should I make it do something similar when using AppCode?
I have searched for it, but I can't find a solution....
1
vote
2
answers
482
views
Swift + AppCode format for alignment type
What I want is this
But when I do formatting automatically from appcode those variables end up like this
When I look into their coding style for swift, I can't seem to find the configuration to ...
1
vote
0
answers
80
views
AppCode autocomplete not showing correct results
AppCode's autocomplete is showing some strange behaviour on my side that I cant seem to figure out. There are two issues I'm currently facing:
Auto complete results are missing or incorrect, in the ...
1
vote
3
answers
812
views
AppCode found no simulators to run
I open my project with AppCode, and it shows Nothing to run on.
I cannot figure out where to configure my simulators.
Need somebody to help me. Running my project with Xcode is fine.